Proxying via your web browser

If you only need to access HTTP/HTTPs (browser) based resources you can use a simple proxy service on your device. This guide shows you how to set up the proxy and configure your applications

Configuring the proxy service

Windows

(If you are using Windows Subsystem for Linux see " Linux and macOS" below.)

Download the tool "Putty" from CMF (alternatively from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html). This tool provides the SSH service for Windows.

  1. Open Putty and insert lxtunnel.cern.ch into "Host Name"
  2. Go to "Connection" -> "SSH" -> "Tunnel" (1, 2)
    1. Add the source port 8080 (3)
    2. Enable "Dynamic" (4)
    3. Click "Add"
  3. Go back to "Session" (top in the left menu)
    1. Add lxtunnel proxy as a name (1)
    2. Click "Save" (2)
  4. Click "Open" to start the proxy. If you reopen Putty you can click on lxtunnel-proxy and open to restart the proxy
Linux and macOS

First you need to start a shell and type in following command to start a proxy via lxunnel (Don't close the shell):

$ ssh -D 8080 lxtunnel.cern.ch -N -l <youruser>

After that you have a proxy running locally on port 8080. You can now use this proxy to configure your applications (or your system) to access CERN internal services.

Configuring the OS

Windows 10

The following actions are setting the system wide proxy for Windows. You need to deactivate those settings if you don't need the proxy. If you don't want to set the proxy system-wide you need to configure each application you want to use with the proxy.

  1. Open the Windows start menu
  2. Start typing proxy
  3. Click on "Proxy Settings"
  4. Activate the proxy
    1. Set "Use proxy server" to "On" (1)
    2. Add localhost for the "Address" and 8080 for the "Port" (2)
    3. Activate "don't use the proxy server for local (intranet) addresses" (3)
    4. Click "Save" (4)
macOS

The following actions are setting the system wide proxy for Mac. You need to deactivate those settings if you don't need the proxy.

  1. Open the Network Preferences ("System Preferences" -> "Network")
  2. Select your Interface which you are using and click on "Advanced..."
  3. Go to Proxy (1)
    1. Select "SOCKS Proxy" (2)
    2. Enter localhost and 8080 in (3)
    3. Click "OK" (4)

Configuring your browser

Firefox

By default Firefox uses the system proxy settings. Alternatively you can do following:

  • Set the proxy in the preferences:
    1. Go to about:preferences (1)
    2. Search for "Proxy" (2)
    3. Click on "Settings..." (3)
    4. Select "Manual proxy configuration" (1)
    5. Insert localhost for "SOCKS Host" and 8080 for "Port" (2)
    6. Select "SOCKS v5" (3)
    7. Select "Proxy DNS when using SOCKS v5" (4)
    8. Click "OK" (5)
  • or install an extension for proxy management and set a new socks5 proxy with localhost as host and 8080 as port. Alternatively you might consider possible extensions like "FoxyProxy Standard"

Chrome

By default Chrome uses the system proxy settings. Alternatively you can do following:

  1. Start Chrome with arguments: google-chrome --proxy-server=socks5://localhost:8080
  2. Install a plugin and set a new socks5 proxy with localhost as host and 8080 as port. Alternatively you might consider possible extensions like "Proxy SwitchyOmega" or "Proxy Switcher and Manager".