Sunday, March 23, 2008

Setting Up Clients To Use a Proxy

http_proxy
ftp_proxy
gopher_proxy
wais_proxy


export http_proxy="http://your.proxy.server:8080/"; //export http_proxy
eg: export http_proxy=http://cache.mrt.ac.lk:3128

export ftp_proxy="http://your.proxy.server:8080/"; //export ftp_proxy
eg: export ftp_proxy=http://cache.mrt.ac.lk:3128

export gopher_proxy="http://your.proxy.server:8080/"; //export gopher_proxy
eg: export gopher_proxy=http://cache.mrt.ac.lk:3128

export wais_proxy="http://your.proxy.server:8080/"; //export wais_proxy
eg: export wais_proxy=http://cache.mrt.ac.lk:3128



No proxy

Some clients support the no_proxy environment variable that specifies a set of domains for which the proxy should not be consulted; the contents is a comma-separated list of domain names, with an optional :port part:
export no_proxy="cern.ch,ncsa.uiuc.edu,some.host:8080"


No comments: