sdnian 6 Posted August 20, 2018 Posted August 20, 2018 ESMC Agent v7 could connect to server through http proxy. It's a good improve. But could I assign proxy settings when install it? (I know how to give setting from policy. I don't ask this. Because sometimes clients can't connect server directly. So it can't get policy settings from ESMC server. That is why it need proxy.)
ESET Staff MartinK 384 Posted August 20, 2018 ESET Staff Posted August 20, 2018 1 hour ago, sdnian said: ESMC Agent v7 could connect to server through http proxy. It's a good improve. But could I assign proxy settings when install it? (I know how to give setting from policy. I don't ask this. Because sometimes clients can't connect server directly. So it can't get policy settings from ESMC server. That is why it need proxy.) Could you specify what kind of installer are you actually using?
sdnian 6 Posted August 20, 2018 Author Posted August 20, 2018 3 hours ago, MartinK said: Could you specify what kind of installer are you actually using? I use Agent live installer to create ESMCAgentInstaller.bat. Then run it in clients.
ESET Staff MartinK 384 Posted August 20, 2018 ESET Staff Posted August 20, 2018 32 minutes ago, sdnian said: I use Agent live installer to create ESMCAgentInstaller.bat. Then run it in clients. So the one that actually does not enables you to select configuration policy to be used as default configuration... Agent actually has support for installation parameters for HTTP proxy configuration, but they are not enabled in ESMC 7.0 (yet). Only possibility is to modify installer script (bat) manually and specify following installation parameters: P_USE_PROXY=1 P_PROXY_HTTP_HOSTNAME=proxyserver.loocal P_PROXY_HTTP_PORT=3128 P_PROXY_HTTP_USERNAME=username P_PROXY_HTTP_PASSWORD=pass I have not tested it, but modification of: echo. echo.Dim params: params = "/qr /i """ ^& packageLocation ^& """ /l*v ""%temp%\ra-agent-install.log""" ^&_ echo. " ALLUSERS=1 REBOOT=ReallySuppress" ^&_ echo. " P_CONNECTION_CHOSEN=Host" ^&_ echo. " P_HOSTNAME=""!server_hostname!""" ^&_ echo. " P_PORT=""!server_port!""" ^&_ echo. " P_CERT_PATH=""!peer_cert_path!""" ^&_ echo. " P_CERT_PASSWORD=""!peer_cert_pwd!""" ^&_ echo. " P_CERT_PASSWORD_IS_BASE64=YES" ^&_ echo. " P_INITIAL_STATIC_GROUP=""!initial_sg_token!""" ^&_ echo. " P_ENABLE_TELEMETRY=""!enable_telemetry!""" ^&_ echo. " P_LOAD_CERTS_FROM_FILE_AS_BASE64=YES" to: echo. echo.Dim params: params = "/qr /i """ ^& packageLocation ^& """ /l*v ""%temp%\ra-agent-install.log""" ^&_ echo. " ALLUSERS=1 REBOOT=ReallySuppress" ^&_ echo. " P_CONNECTION_CHOSEN=Host" ^&_ echo. " P_HOSTNAME=""!server_hostname!""" ^&_ echo. " P_PORT=""!server_port!""" ^&_ echo. " P_CERT_PATH=""!peer_cert_path!""" ^&_ echo. " P_CERT_PASSWORD=""!peer_cert_pwd!""" ^&_ echo. " P_CERT_PASSWORD_IS_BASE64=YES" ^&_ echo. " P_INITIAL_STATIC_GROUP=""!initial_sg_token!""" ^&_ echo. " P_ENABLE_TELEMETRY=""!enable_telemetry!""" ^&_ echo. " P_LOAD_CERTS_FROM_FILE_AS_BASE64=YES" ^&_ echo. " P_USE_PROXY=1" ^&_ echo. " P_PROXY_HTTP_HOSTNAME=proxyserver.loocal" ^&_ echo. " P_PROXY_HTTP_PORT=3128" ^&_ echo. " P_PROXY_HTTP_USERNAME=username" ^&_ echo. " P_PROXY_HTTP_PASSWORD=pass" except possible escaping issues in case parameters will contain non-asci characters.
Recommended Posts