Accessing the Internet on compute nodes via proxy

Nodes have limited network access, but can use a local proxy to access http, https, ftp and rsync. This only applies to the compute/gpu/bigmem and so on - NOT the login and interactive nodes.

Proxy environment variables

Environment variables are set automatically when you login interactively (e.g. ssh to a node), and also by Slurm.

$ cat /etc/profile.d/z_proxy.sh
export http_proxy=http://10.110.0.12:3128/
export https_proxy=$http_proxy

Manual settings

Most common software (like git, curl, wget and so on) will pick up the environment variables above automatically, but if your software requires setting this another way you can use the following:

Host: 10.110.0.12 Port: 3128

E.g. for the OpenOnDemand RStudio app, you'll have to set them in the console to reach the CRAN and Bioconductor package repositories:

Sys.setenv(http_proxy = "http://10.110.0.12:3128")
Sys.setenv(https_proxy = "http://10.110.0.12:3128")