Skip to content

WebProxy

The compute nodes for the HPRC clusters do not have access to the internet. In order to allow internet access for compute nodes, you can enable web proxy when you run interactive or batch jobs on the compute nodes, by configuration environment variables, http_proxy and https_proxy or by loading the WebProxy module.

WebProxy module

To load WebProxy:

module load WebProxy

To load WebProxy:

module load WebProxy

To load WebProxy:

module load WebProxy

To load WebProxy:

module load WebProxy

Set up environment variables

To enable web proxy, run these two lines before starting your interactive programs or add to your job script.

export http_proxy=http://10.73.132.63:8080
export https_proxy=http://10.73.132.63:8080
export http_proxy=http://10.72.8.25:8080
export https_proxy=http://10.72.8.25:8080
export http_proxy=http://10.71.8.1:8080
export https_proxy=http://10.71.8.1:8080
export http_proxy=http://10.72.10.1:8080
export https_proxy=http://10.72.10.1:8080

Set up proxy in Jupyter Notebook Portal app

Run the following lines in your notebook:

import os
os.environ['http_proxy'] = 'http://10.73.132.63:8080'
os.environ['https_proxy'] = 'http://10.73.132.63:8080'
import os
os.environ['http_proxy'] = 'http://10.72.8.25:8080'
os.environ['https_proxy'] = 'http://10.72.8.25:8080'
import os
os.environ['http_proxy'] = 'http://10.71.8.1:8080'
os.environ['https_proxy'] = 'http://10.71.8.1:8080'
import os
os.environ['http_proxy'] = 'http://10.72.10.1:8080'
os.environ['https_proxy'] = 'http://10.72.10.1:8080'

Set up proxy for use within a Singularity container

export SINGULARITYENV_http_proxy="http://10.73.132.63:8080/"
export SINGULARITYENV_https_proxy="http://10.73.132.63:8080/"
export SINGULARITYENV_http_proxy="http://10.72.8.25:8080/"
export SINGULARITYENV_https_proxy="http://10.72.8.25:8080/"
export SINGULARITYENV_http_proxy="http://10.71.8.1:8080/"
export SINGULARITYENV_https_proxy="http://10.71.8.1:8080/"
export SINGULARITYENV_http_proxy="http://10.72.10.1:8080"
export SINGULARITYENV_https_proxy="http://10.72.10.1:8080"

Set up proxy in the browser

You can enable web proxy for Firefox by following instruction and provide the IP/port for both HTTP and HTTPS proxies. Use the IP and ports listed above for each cluster.