Quantcast
Channel: Tutorials — LowEndTalk
Viewing all articles
Browse latest Browse all 1034

HTTP proxy setup bypass strict and restricted firewalls (Works in China, Iran and Pakistan.)

$
0
0

Software: 3proxy.

HTTP proxy setup with SSL support.

OS: Debian or Ubuntu.

  1. sudo apt-get install gcc make

  2. wget https://github.com/z3APA3A/3proxy/archive/0.8.9.tar.gz

  3. tar -xvzf 0.8.9.tar.gz

  4. cd 3proxy-0.8.9

  5. make -f Makefile.Linux

  6. cd src

  7. mkdir /etc/3proxy/

  8. mv 3proxy /etc/3proxy/

  9. cd /etc/3proxy/

  10. 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

  1. nano .proxyauth

    user:CL:password

    user1:CL:password1

    user2:CL:password2

chmod 600 /etc/3proxy/.proxyauth

  1. 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

  1. reboot The machine will restart.

  2. /etc/init.d/3proxyinit restart

Finish. Use port 80. Works in China, Iran and Pakistan.


Viewing all articles
Browse latest Browse all 1034

Trending Articles