㈠ 怎樣在Linux命令行下使用socks代理
1、安裝ss5
ss5 is a socks server that implements the SOCKS v4 and v5 protocol.
yum -y install pam-devel
tar zxf ss5-3.8.9-8.tar.gz
cd ss5-3.8.9
./configure;make;make install
2、配置ss5
cd /etc/opt/ss5
3、ss5.conf為配置文件,格式實例:
auth 0.0.0.0/0 - u
set SS5_STIMEOUT 3600
set SS5_AUTHCACHEAGE 3600
set SS5_VERBOSE
permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -
4、ss5.passwd配置訪問賬戶和密碼,格式實例
user password
5、啟動/停止
/etc/init.d/ss5 start
/etc/init.d/ss5 stop
6、netstat -ntlp檢查1080埠是否開啟