Skip to content
Snippets Groups Projects
Commit bc6a8f5a authored by Camilla Galloni's avatar Camilla Galloni
Browse files

Merge branch 'bugfix/pac-file' into 'main'

Recommend the usage of a local PAC file copy

See merge request cmsgemonline/gem-ops/gem-daq-doc!19
parents 6a363f25 df260c5c
No related branches found
No related tags found
1 merge request!19Recommend the usage of a local PAC file copy
Pipeline #6228298 passed
...@@ -93,18 +93,30 @@ Additional options can be used to facilite the usage (such as multiplexed connec ...@@ -93,18 +93,30 @@ Additional options can be used to facilite the usage (such as multiplexed connec
### Web proxy ### Web proxy
Using a proxy auto-connect (PAC) file will allow you to set up tunnels such that you can easily access web resources on the technical network or GPN from outside the GPN (or, if not connected to the technical network, from the GPN). Using a proxy auto-connect (PAC) file will allow you to set up tunnels such
If you do this, you won't have to individually forward specific ports and then access them via `localhost:<port>`, instead you simply point your browser to the real URL and the proxy you set up with the dynamic forward ensures that the request makes it to the correct machine. that you can easily access web resources on the CMS network or GPN from outside
The file [located here](p5.pac) will assume that you have set up the ports as in the examples above. the respective network. If you do this, you won't have to individually forward
If not, you should ensure that the port forwards you use match the rules in the PAC file. specific ports and then access them via `localhost:<port>`. Instead you simply
point your browser to the real URL and the proxy you set up with the SSH
Enabling this in `firefox` is done via the "Preferences" menu. dynamic port forwarding (a.k.a. SOCKS proxy) ensures that the request makes it
Inside of "Preferences" menu is an area for "Network settings" click on the "Settings..." button and click on "Automatic proxy configuration URL". to the correct machine. The file [located here](p5.pac) will assume that you
In the text box you can add [this link](p5.pac) or if you customize the PAC file for your environment you can specify the local path on your computer with `file:///path/to/pac/file`. have set up the ports as in the examples above. If not, you should ensure that
To enable on a browser that is not Firefox, look up instructions for how to add a "Automatic proxy configuration URL" and add the path to the PAC file there. the port forwards you use match the rules in the PAC file.
It can also be enabled system wide on your linux machine, but the setup is different depending on your exact configuration.
Setup on Mac can be done either through the browser or through the network settings. Enabling this in `firefox` is done via the "Preferences" menu. Inside of
Setup on Windows is an exercise left for the reader. "Preferences" menu is an area for "Network settings" click on the "Settings..."
button and click on "Automatic proxy configuration URL". In the text box you
can you can specify the path to a local copy of the PAC file on your computer
with `file:///path/to/pac/file`. Using a direct link the the PAC file may also
work, but is **not recommended** since the provided URL may not be stable over
time.
To enable on a browser that is not Firefox, look up instructions for how to add
an "Automatic proxy configuration URL" and add the path to the PAC file there.
It can also be enabled system wide on your Linux machine, but the setup is
different depending on your exact configuration. Setup on Mac can be done
either through the browser or through the network settings. Setup on Windows is
an exercise left for the reader.
!!! important !!! important
In order to use the proxy, first enable an SSH tunnel: In order to use the proxy, first enable an SSH tunnel:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment