Skip to end of metadata
Go to start of metadata

This page provide information on how to add proxy settings to a server so that it can connect to external resources and services.

Connecting externally via a proxy

In order to access external resources and services outside of the university network, many servers have to connect via a proxy.  Bath has three proxy URL's; one for connecting to 'http' sites, one for connecting to 'https' sites and one for accessing 'ftp' resources.  It is important when setting up a server that all three of these are added to the 'environment' file located in the /etc folder.  Open the file using an editor and make entries as follows to the end of the file:

http_proxy="http://wwwproxy.bath.ac.uk:3128/"
https_proxy="https://wwwproxy.bath.ac.uk:3128/"
ftp_proxy="http://wwwproxy.bath.ac.uk:3128/"
no_proxy="localhost,127.0.0.1,localaddress,.localdomain.com"
HTTP_PROXY="http://wwwproxy.bath.ac.uk:3128/"
HTTPS_PROXY="https://wwwproxy.bath.ac.uk:3128/"
FTP_PROXY="http://wwwproxy.bath.ac.uk:3128/"
NO_PROXY="localhost,127.0.0.1,localaddress,.localdomain.com"

This will ensure that the server can now connect to external resources.

  • No labels