Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get update
- apt-get -y install fail2ban software-properties-common
- apt-get install nano
- apt-get install build-essential libevent-dev libssl-dev
- cd /etc
- wget http://3proxy.ru/0.7.1.1/3proxy-0.7.1.1.tgz
- tar zxvf 3proxy-0.7.1.1.tgz
- rm 3proxy-0.7.1.1.tgz
- cd 3proxy
- nano src/proxy.h
- add line - #define ANONYMOUS 1 (this makes proxy anonymous)
- make -f Makefile.Linux
- make -f Makefile.Linux install
- mkdir log
- cd cfg
- nano 3proxy.cfg
- Add ips here along with Username : Password : Port in this format : proxy -p3128 -a -iYour Ip here -eYour Ip here
- Edit username and password in the same file in this format : users UsernameHere:CL:passwordHere
- Allow your username in the same file (You will see the Allow option , just add your username there)
- chmod 0777 3proxy.cfg
- cd ../
- nano scripts/rc.d/proxy.sh ( enter the directory where you installed 3Proxy script! )
- sh scripts/rc.d/proxy.sh start
- nano /etc/rc.local
- sh /etc/3proxy/scripts/rc.d/proxy.sh start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement