Socket V5 Proxy 伺服器部署

來源:互聯網
上載者:User

標籤:Proxy 伺服器   socket   設定檔   軟體包   1080   

 

  簡單部署過程如下:

  1.   下載軟體包

         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 伺服器部署

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.