Skip to content

Making an ssh tunnel to CERN (and the NGINX server)

Steven Timm edited this page May 18, 2024 · 3 revisions

ssh -l <username> lxplus.cern.ch -L 8080:protodune-gw.cern.ch:8080

protodune-gw.cern.ch is our NGINX server behind which all other services are proxied. Its NGINX port 8080 is by default open to all machines at FNAL and CERN.

The various examples of the tunneling show http://127.0.0.1:8080/ instead of http://localhost:8080/ because it is very common for someone at Fermilab to have a machine called localhost.dhcp.fnal.gov which will make the localhost setting not work.