Chinaunix首页 | 论坛 | 博客
  • 博客访问: 246853
  • 博文数量: 61
  • 博客积分: 2510
  • 博客等级: 少校
  • 技术积分: 800
  • 用 户 组: 普通用户
  • 注册时间: 2008-02-14 15:18
文章分类

全部博文(61)

文章存档

2011年(4)

2010年(5)

2009年(10)

2008年(42)

我的朋友

分类: LINUX

2011-01-21 12:03:10

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)

阅读(6462) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~