Installation of SS5 under CentOS

Source: Internet
Author: User

What is     socks: Firewall security Session Conversion protocol   (Socks: protocol for sessions traversal  across firewall securely)  SOCKS  Protocol provides a framework for clients in  TCP  and  UDP  domains Server applications make it easier and safer to use the services provided by the network firewall. This protocol is conceptually a   "intermediary layer (Shim-layer)" between the application and transport layers, and therefore does not provide a network Layer gateway service such as delivery  ICMP  information .1.1  installation relies on the development library view  sourceprint?# yum install pam-devel openldap-devel openssl-devel1.2  Installation Socks  5# wget http://downloads.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz?r=&ts= 1396802581&use_mirror=cznic# tar -xzvf ss5-3.8.9-8.tar.gz# cd ss5-3.8.9# ./ configure# make# make install2.1  Modifying a configuration file # vim /etc/opt/ss5/ss5.confauth  0.0.0.0/0 – -    87 Line changed to auth 0.0.0.0/0 – upermit –  0.0.0.0/0 – 0.0.0.0/0 – – – – -changed into permit u 0.0.0.0/0 –  0.0.0.0/0 – – – – -   203 line 3.  Add socket 5 user # cat /etc/ opt/ss5/ss5.passwd# #用户      password username 1234564.  start socket 5# sh /etc /rc.d/init.d/ss5 startdoneting ss5...# chmod u+x /etc/rc.d/init.d/ss5# chkconfig  --add ss5 //Optional # chkconfig ss5 on //Optional # service ss5  Start5. See if # netstat -lntp  | grep ss5tcp       is started   0      0 0.0.0.0:1080   0.0.0.0:*       listen      14262/ss56. Firewall configuration #vi /etc/sysconfig/ Iptables-a input -m state --state new -m tcp -p tcp --dport  1080 -j ACCEPT7.  Test SOCKS5 Install Proxifier, by default all requests Go socks58, the default port is 1080, you can modify the default port  vi / Etc/init.d/ss5 daemon /usr/sbin/ss5 -t  $SS 5_opts  -b 0.0.0.0:10088  This will change the default port to 10088. 


This article from "Leboit" blog, declined reprint!

Installation of SS5 under CentOS

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.