天天看點

debian 6.0&¢os6.0部署socket5

debian6.0

apt-get install automake make gcc g++ libpam0g-dev libldap2-dev

tar zxvf ss5-3.6.1-1.tar.gz

cd ss5-3.6.1

./configure --with-defaultport=12379

make

make install

然後我們對ss5的配置檔案進行修改

/etc/opt/ss5/ss5.conf

找到

auth 0.0.0.0/0 - -

改成

auth 0.0.0.0/0 - u

然後在/etc/opt/ss5/ss5.passwd中添加使用者名和密碼,格式為一行一個使用者密碼

test 123456

啟動ss5:

#ss5 &

centos6.0

service iptables stop

yum -y install wget gcc automake autoconf libtool make pam-devel openldap-devel cyrus-sasl-devel

wget http://www.54nb.com/ss5-3.6.1-1.tar.gz

/etc/init.d/ss5 start

chkconfig --add ss5

chkconfig ss5 on

netstat -antp

本文轉自 西索oO 51CTO部落格,原文連結:http://blog.51cto.com/lansgg/1202714

繼續閱讀