Set a Web Proxy for Chrome/Edge on a Hardened PSM Server
Question
My environment requires a proxy server to connect to the outside internet and the PSM servers are hardened and have Chrome based connection components.
You may have already followed the Article that describes how to configure the proxy for Internet Explorer (https://community.cyberark.com/s/article/00004749) or you may want to use a separate proxy configuration for Chrome.
How do I configure the proxy settings?
Environment
9.8;9.9;9.10;10.0;10.1;10.2;10.3;10.4;10.5;10.6;10.7;10.8;10.9;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;14.2 Privileged Access Manager (PAM, self-hosted) PSM;Privileged Session Management (PSM)
Answer
The following URL explains the specfici settings for configuring a proxy server for Google Chrome.
https://www.chromium.org/administrators/policy-list-3#Proxy
If you are using the provided PSM Hardening Group Policy settings, adding Google Chrome proxy settings is simple. Modify the imported Group Policy in the following location:
Computer Configuration -> Policies -> Administrative Templates -> Classic Administrative Templates (ADM) -> Google -> Google Chrome -> Proxy Server
You can set 'Choose how to specify proxy server settings' to one of the following, depending on your environment:
- "direct" = Never use a proxy
- "auto_detect" = Auto detect proxy settings
- "pac_script" = Use a .pac proxy script
- "fixed_servers" = Use fixed proxy servers
- "system" = Use system proxy settings
And if you are not using 'auto_detect; or 'system', you can configure any of the additional rules 'Address or URL of proxy server' or 'URL to a proxy .pac file'.
If you are not using GPO to harden your PSM servers, the above can also be achieved by editing the registry of the PSM server.
The equivalent registry keys are as below, and are all type REG_SZ:
- HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ProxyMode
- HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome\ProxyServer
- HKEY_LOCAL_MACHINE\ Software\Policies\Google\Chrome\ProxyPacUrl
For new versions of chrome, the configuration of the proxy setting has changed. Tested for versions of Chrome 104,105,106.
Referencing this site:
https://chromeenterprise.google/policies/#ProxySettings
Registry settings for Chrome are to be made at:
Software\Policies\Google\Chrome\ProxySettings
Registry settings for Edge are to be made at:
Software\Policies\Microsoft\Edge\ProxySettings
Sample values
{
"ProxyMode": "fixed_servers", "ProxyServer": "123.123.123.123:8080", "ProxyBypassList": "https://www.example1.com,https://www.example2.com,https://internalsite/"
}
==