How to use 3proxy to implement multiple IP socks5?

Written by

If you have a server has multiple IP adress, and want use Socks5 each IP, We will use 3proxy to setup it, Please check below:


Server OS: Centos 6/7
Software: 3proxy.org

3Proxy tiny free proxy server is really tiny cross-platform (Win32/Win64&Unix) freeware proxy servers set. It includes HTTP proxy with HTTPS and FTP support, SOCKSv4/SOCKSv4.5/SOCKSv5 proxy (socks/socks.exe), POP3 proxy, SMTP proxy, AIM/ICQ proxy (icqpr/icqpr.exe), MSN messenger / Live messenger proxy (msnpr/msnpr.exe), FTP proxy, caching DNS proxy, TCP and UDP portmappers.

Download 3proxy:

wget http://www.lk6.net/tools/3proxy-0.7.1.1.tgz

Install:

yum install wget gcc gcc-c++ make perl
tar -xf 3proxy-0.7.1.1.tgz
cd 3proxy
make -f Makefile.Linux
make -f Makefile.Linux install
which 3proxy

Configuration:

vi /usr/local/etc/3proxy.cfg
 nserver 8.8.8.8
 nserver 8.8.4.4
 nscache 65536
 timeouts 30 30 60 60 180 1800 60 120
 users lk6net:CL:1234
 daemon
 log /var/log/3proxy.log D
 logformat "- +_L%t.%.  %N.%p %E %U %C:%c %R:%r %O %I %h %T"
 rotate 2
 auth strong
 flush
 allow lk6net
 socks -p1080 -i23.94.93.249 -e23.94.93.249
 socks -p1081 -i23.94.93.250 -e23.94.93.250    //config for multiple ips 

The users is the user/passwd for Socks5

multiple ips socks5 is 23.94.93.249:1080 23.94.93.250:1081

You can add all of the ip address that your server owned,

Start 3proxy:

/usr/local/bin/3proxy /usr/local/etc/3proxy.cfg

Stop 3proxy:

killall 3poxy
Article Tags:
Article Categories:
Knowledge

Leave a Reply

Your email address will not be published. Required fields are marked *

Shares