Bashrc.
function proxyaero() { echo -n "username:" read -e username echo -n "password:" read -es password export http_proxy="http://$username:$password@10.101.1.5:80/" export https_proxy="http://$username:$password@10.101.1.5:80/" export ftp_proxy="http://$username:$password@10.101.1.5:80/" export ftps_proxy="http://$username:$password@10.101.1.5:80/" export gopher_proxy="http://$username:$password@10.101.5.1:80/" export wais_proxy="http://$username:$password@10.101.1.5:80/" export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@10.101.1.5:80/" export HTTPS_PROXY="http://$username:$password@10.101.1.5:80/" export FTP_PROXY="http://$username:$password@10.101.1.5:80/" export FTPS_PROXY="http://$username:$password@10.101.1.5:80/" export GOPHER_PROXY="http://$username:$password@10.101.1.5:80/" export WAIS_PROXY="http://$username:$password@10.101.1.5:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" } function proxyhss(){ echo -n "username:" read -e username echo -n "password:" read -es password export http_proxy="http://$username:$password@10.108.1.1:80/" export https_proxy="http://$username:$password@10.108.1.1:80/" export ftp_proxy="http://$username:$password@10.108.1.1:80/" export ftps_proxy="http://$username:$password@10.108.1.1:80/" export gopher_proxy="http://$username:$password@10.108.1.1:80/" export wais_proxy="http://$username:$password@10.108.1.1:80/" export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@10.108.1.1:80/" export HTTPS_PROXY="http://$username:$password@10.108.1.1:80/" export FTP_PROXY="http://$username:$password@10.108.1.1:80/" export FTPS_PROXY="http://$username:$password@10.108.1.1:80/" export GOPHER_PROXY="http://$username:$password@10.108.1.1:80/" export WAIS_PROXY="http://$username:$password@10.108.1.1:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" } function proxynetmon(){ echo -n "username:" read -e username echo -n "password:" read -es password export http_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export https_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export ftp_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export ftps_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export gopher_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export wais_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export no_proxy="*.iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export HTTPS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export FTP_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export FTPS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export GOPHER_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export WAIS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" } export HISTFILESIZE=10000000 export HISTSIZE=10000000 export HISTIGNORE="rm*" export HISTCONTROL=erasedups
proxycmdaero.sh
echo -n "Aero username:" read -e username echo -n "Aero password:" read -es password export http_proxy="http://$username:$password@10.101.1.5:80/" export https_proxy="http://$username:$password@10.101.1.5:80/" export ftp_proxy="http://$username:$password@10.101.1.5:80/" export ftps_proxy="http://$username:$password@10.101.1.5:80/" export gopher_proxy="http://$username:$password@10.101.5.1:80/" export wais_proxy="http://$username:$password@10.101.1.5:80/" export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@10.101.1.5:80/" export HTTPS_PROXY="http://$username:$password@10.101.1.5:80/" export FTP_PROXY="http://$username:$password@10.101.1.5:80/" export FTPS_PROXY="http://$username:$password@10.101.1.5:80/" export GOPHER_PROXY="http://$username:$password@10.101.1.5:80/" export WAIS_PROXY="http://$username:$password@10.101.1.5:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" "$@"
proxycmdnetmon.sh
echo -n "Netmon username:" read -e username echo -n "Netmon password:" read -es password export http_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export https_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export ftp_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export ftps_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export gopher_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export wais_proxy="http://$username:$password@netmon.iitb.ac.in:80/" export no_proxy="*.iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export HTTPS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export FTP_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export FTPS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export GOPHER_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export WAIS_PROXY="http://$username:$password@netmon.iitb.ac.in:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" "$@"
proxycmdhss.sh
echo -n "HSS username:" read -e username echo -n "HSS password:" read -es password export http_proxy="http://$username:$password@10.108.1.1:80/" export https_proxy="http://$username:$password@10.108.1.1:80/" export ftp_proxy="http://$username:$password@10.108.1.1:80/" export ftps_proxy="http://$username:$password@10.108.1.1:80/" export gopher_proxy="http://$username:$password@10.108.1.1:80/" export wais_proxy="http://$username:$password@10.108.1.1:80/" export no_proxy=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" #some apps need the vairables in CAPS export HTTP_PROXY="http://$username:$password@10.108.1.1:80/" export HTTPS_PROXY="http://$username:$password@10.108.1.1:80/" export FTP_PROXY="http://$username:$password@10.108.1.1:80/" export FTPS_PROXY="http://$username:$password@10.108.1.1:80/" export GOPHER_PROXY="http://$username:$password@10.108.1.1:80/" export WAIS_PROXY="http://$username:$password@10.108.1.1:80/" export NO_PROXY=".iitb.ac.in,10.0.0.0/8,127.0.0.1,localhost" "$@"