OS: CentOS 5.4
socks5-1.0r11
Note: Can't compile and make from source code directly. So choose the rpm package.
1. Download
wget ftp://ftp.pbone.net/mirror/ftp.falsehope.net/home/gomez/socks5/socks5-1.0r11-3.i386.rpm
2. Edit config file
1) Main config file
/etc/socks5.conf
# socks5 proxy server
set SOCKS5_BINDINFC
set SOCKS5_NOIDENT
set SOCKS5_TIMEOUT 15
set SOCKS5_V4SUPPORT
set SOCKS5_MAXCHILD 36
auth - - u // user auth only
permit - - - - - -
2) Password file
/etc/socks5.passwd add content as:
ray 123456
chmod 600 /etc/socks5.passwd
3. Startup
socks5 -b 23456
(Listen port 23456)
阅读(6584) | 评论(0) | 转发(0) |