Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get update
- apt-get upgrade
- nano /etc/network/interfaces
- paste this
- ----
- # The loopback network interface
- auto lo
- iface lo inet loopback
- auto ens3
- iface ens3 inet dhcp
- iface ens3 inet6 auto
- iface ens3 inet static
- address 111.111.111.111/24
- iface ens3 inet static
- address 222.222.222.222/24
- ----
- sudo /etc/init.d/networking restart
- apt-get -y install fail2ban software-properties-common
- apt-get install build-essential libevent-dev libssl-dev
- cd /etc
- wget https://gettraffic.pro/docs/3proxy-0.8.11.tar.gz
- tar zxvf 3proxy-0.8.11.tar.gz
- mv 3proxy-0.8.11 3proxy
- cd 3proxy
- nano src/proxy.h
- #define ANONYMOUS 1
- make -f Makefile.Linux
- make -f Makefile.Linux install
- wget https://gettraffic.pro/docs/3proxy.cfg
- nano 3proxy.cfg
- -insert server ip, delete the rest of ips
- chmod 700 3proxy.cfg
- cd /etc/3proxy/scripts/rc.d/
- mv proxy.sh saved-proxy.sh
- wget https://gettraffic.pro/docs/proxy.sh
- sh /etc/3proxy/scripts/rc.d/proxy.sh start
- nano /etc/rc.local
- add this above "exit 0": sh /etc/3proxy/scripts/rc.d/proxy.sh start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement