Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Advertise on LowEndTalk.com
HTTP proxy setup bypass strict and restricted firewalls (Works in China, Iran and Pakistan.)
New on LowEndTalk? Please read our 'Community Rules' by clicking on it in the right menu!

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

ansiklopediansiklopedi Member
edited June 2017 in Tutorials

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.

Comments

  • WilliamWilliam Member, Provider

    does not work in Iran - connects but as usual the connection does not match the protocol on this port so the FW shapes it down to 20kbps, rendering it useless. Tested from Afranet.

  • @William said:
    does not work in Iran - connects but as usual the connection does not match the protocol on this port so the FW shapes it down to 20kbps, rendering it useless. Tested from Afranet.

    Hmm.. Is there a mistake in the guide I prepared?

  • WilliamWilliam Member, Provider

    ansiklopedi said: Hmm.. Is there a mistake in the guide I prepared?

    No, if you run SSL on 80/8080 it does not match the protocol in the RFC (which is plain HTTP, not SSL/TLS) thus the firewall detects it as attempt to abuse the port for proxy and cuts the speed near zero.

    This is the same as on port 22 which is generally cut to 20-100kbps.

    There is no way to circumvent this, 443 is not as limited speed wise but has heavy IP filters and DPI/at times MITM.

    Iran is a step up from China, not same tech/less censored.

  • First time knowing that Pakistan has such sort of censoring as well.

    Easy Website Backup Script: easybackup Extremely affordable FTP backup storage: 1Fichier

  • karanchookaranchoo Member
    edited June 2017

    dedipromo said: First time knowing that Pakistan has such sort of censoring as well.

    >

    We Dont , may be in some universities to ban some sites , but not in any countrywide Internet provider nor any vpn block.

    Thanked by 1dedipromo
  • WilliamWilliam Member, Provider

    hammad said: but not in any countrywide Internet provider

    PTCL blocks a LOT of things. And at times ugly wrong (re: Youtube BGP hijack).

  • will work in UAE?

  • @emiratesgaming said:
    will work in UAE?

    Yes.

Sign In or Register to comment.