Configuring Proxy Parameters During Saner Agent Installation

Modified on Mon, 29 Sep at 7:01 PM

Overview

In certain environments, direct communication from the Saner Agent to saner.secpod.com over port 443 (HTTPS) may be intercepted or blocked by network policies. To ensure smooth activation and connectivity in such cases, the agent can be configured to use a proxy server.

This article explains how to configure proxy parameters during Saner Agent installation on Windows and Linux systems. By specifying proxy details during installation, the agent will activate successfully and establish connectivity through the proxy.



Windows – Installing Saner Agent with Proxy Parameters


If your environment requires a proxy, you can specify proxy details directly during the agent installation.


Command Syntax:


Saner_Windows_x86_<version>.exe /S ACTIVATION_TOKEN=<"Path of spsaneractivation.conf"> AUTODETECTPROXY=false PROXYENABLE=true PROXYURL="ProxyServer" PROXYPORT="ProxyPort" PROXYAUTHENABLE=true PROXYUNAME="ProxyUsername" PROXYPASSWORD="ProxyUserPass"



Mandatory Parameter:

  • /ACTIVATION_TOKEN → Path of the activation configuration file (spsaneractivation.conf)
  • /AUTODETECTPROXY → Set to false to disable auto-detection
  • /PROXYENABLE → Set to true to use proxy
  • /PROXYURL → Proxy server hostname or IP
  • /PROXYPORT → Proxy server port number
  • /PROXYAUTHENABLE → Set to true if proxy requires authentication
  • /PROXYUNAME → Proxy username
  • /PROXYPASSWORD → Proxy password


Example Command


Saner_Windows_x86_5.1.0.exe /S ACTIVATION_TOKEN="C:\temp\spsaneractivation.conf" AUTODETECTPROXY=false PROXYENABLE=true PROXYURL="10.10.10.50" PROXYPORT="8080" PROXYAUTHENABLE=true PROXYUNAME="proxyuser" PROXYPASSWORD="Pass@123"



Linux – Creating Agent Package with Embedded Proxy


For Linux systems, you can create a pre-configured agent package with proxy details. Once installed, the agent will automatically activate.


Command Syntax:

Saner_<linux flavour>_<arch>_<version>.bin --config spsaneractivation.conf --pkgfilepath <path> --proxyurl <ProxyServer> --proxyport <ProxyPort> --proxyuser <ProxyUsername> --proxypass <ProxyPassword>


Options:

  • --config → Path of the spsaneractivation.conf file

  • --pkgfilepath → Destination path for generated package

  • --proxyurl → Proxy server hostname or IP

  • --proxyport → Proxy server port number

  • --proxyuser → Proxy username

  • --proxypass → Proxy password


Example Command:


Saner_ubuntu_x86_64_5.1.0.bin --config spsaneractivation.conf --pkgfilepath /tmp/saner_pkg --proxyurl 10.10.10.50 --proxyport 8080 --proxyuser proxyuser --proxypass Pass@123


Notes

  • All options and values are case-sensitive.

  • Ensure proxy connectivity before installation by validating with:

    curl -x http://<proxy>:<port> https://saner.secpod.com/AncorWebService/test -v -k --trace -

  • By default:

    • SANER_FIRST_SCAN=TRUE (agent performs an immediate scan after install)

    • SANER_ACTIVATE_OFF=FALSE (agent activates immediately unless overridden)



Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article