Proxy Client Users on FreeBSD 6.2

Prerequisites:

FreeBSD (and an HTTP proxy server of some kind on your network)

Overview: Network installing of packages, ports or source code is desired, but you are are stuck behind your company proxy server.  This way assumes you have a functioning HTTP proxy on your network and you have permission to use it.

FreeBSD as a Proxy Client – HTTP download of files through your existing proxy server

# Set the environment variable:
http_proxy=http://MyCorporateProxyServer:8080

# Export the variable into your shell to make it usable from the "Bash" shell:
export http_proxy

# Download files via the Internet from command line using "fetch":
fetch http://www.SomeServer.com/SomeFile.tar.gz

# Other Shells: Other than my favorite (Bash) make need to set the environment variable in another manner:
setenv http://MyCorporateProxyServer:8080

# Note: You could set it more permanently by editing a file:
vi /etc/make.conf:

   HTTP_PROXY= http://proxy.example.net:8080/
   FTP_PROXY= http://proxy.example.net:8080/

# The space after the equal sign is required