標籤:Proxy 伺服器 socket 設定檔 軟體包 1080
簡單部署過程如下:
-
下載軟體包
ss5代理軟體包
2. 解壓、編譯、安裝
tar zxvf ss5-3.6.1-1.tar.gz
cd ss5-3.6.1
./configure
make
make install
3. 啟動ss5 服務
/etc/init.d/ss5 start
4. 添加自啟動
chkconfig --add ss5
chkconfig ss5 on
預設情況下, ss5監聽1080連接埠,接受所有使用者的代理請求.
安全起見,我們需呀啟用代理認證功能,並維護認證的帳號密碼檔案(ss5.passwd).
5. 修改設定檔
設定檔的位置:
[[email protected] ss5]# pwd/etc/opt/ss5[[email protected] ss5]# ll總用量 32-rw-r--r--. 1 root root 9777 4月 21 18:58 ss5.conf-rw-r--r--. 1 root root 9777 4月 21 18:29 ss5.conf_bak-rw-r--r--. 1 root root 42 4月 21 19:05 ss5.passwd-rw-r--r--. 1 root root 57 4月 21 18:32 ss5.passwd_bak
# SHost SPort Authentication##auth 0.0.0.0/0 - -#修改為auth 0.0.0.0/0 - u permit - 0.0.0.0/0 - 0.0.0.0/0 - - - - -#修改為permit u 0.0.0.0/0 - 0.0.0.0/0 - - - - -
添加帳號和密碼到密碼檔案:
/etc/opt/ss5/ss5.passwd
形如:
aaa 123
bbb 234
每個帳號和密碼各佔一行.
重啟ss5服務,即可.
本文出自 “史振寧的技術部落格” 部落格,請務必保留此出處http://magic3.blog.51cto.com/1146917/1640298
Socket V5 Proxy 伺服器部署