Software: 3proxy.
HTTP proxy setup with SSL support.
OS: Debian or Ubuntu.
sudo apt-get install gcc make
tar -xvzf 0.8.9.tar.gz
cd 3proxy-0.8.9
make -f Makefile.Linux
cd src
mkdir /etc/3proxy/
mv 3proxy /etc/3proxy/
cd /etc/3proxy/
nano 3proxy.cfg
nserver 80.80.80.80
nserver 80.80.81.81
nscache 65536
timeouts 1 5 30 60 180 1800 15 60
users $/etc/3proxy/.proxyauth
daemon
log /dev/null
authcache user 60
auth strong cache
deny * * 127.0.0.1,192.168.1.1
allow * * * 80-88,8080-8088 HTTP
allow * * * 443,8443 HTTPS
proxy -n -p80 -a
admin -p3200
chmod 600 /etc/3proxy/3proxy.cfg
nano .proxyauth
user:CL:password
user1:CL:password1
user2:CL:password2
chmod 600 /etc/3proxy/.proxyauth
cd /etc/init.d/
nano 3proxyinit
case "$1" in
start)
echo Starting 3Proxy
/etc/3proxy/3proxy /etc/3proxy/3proxy.cfg
;;
stop)
echo Stopping 3Proxy
/usr/bin/killall 3proxy
;;
restart|reload)
echo Reloading 3Proxy
/usr/bin/killall -s USR1 3proxy
;;
*)
echo Usage: \$0 "{start|stop|restart}"
exit 1
esac
exit 0
chmod +x /etc/init.d/3proxyinit
reboot
The machine will restart./etc/init.d/3proxyinit restart
Finish. Use port 80. Works in China, Iran and Pakistan.