Install socks 5 in CentOS

Source: Internet
Author: User

Install socks 5 in CentOS

What is SOCKS? The Socks protocol (SOCKS: protocolforsessionstraversalw.ssfirewallsecurely) provides a framework, it makes it easier and safer for client/server applications in TCP and UDP domains to use the services provided by the network firewall. In terms of concept, this protocol is a "shim-layer" between the application layer and the transport layer. Therefore, it does not provide network-layer Gateway services such as transmitting ICMP information. 1.1 install the dependency development library viewsourceprint? # Yuminstallpam-developenldap-developenssl-devel1.2 install socks5 # wgethttp: // downloads.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz? R=&ts=1396802581&use_{%cznic=tar-xzvfss5-3.8.9-8.tar.gz # cdss5-3.8.9 #. /configure # make # makeinstall2.1 modify the configuration file # vim/etc/opt/ss5/clusters/0--87 to auth0.0.0.0/0-upermit-0.0.0.0/0-0.0.0.0/0 ----- change to permitu0.0.0.0/0-0.0.0.0/0-----203 3. add socket5 user # cat/etc/opt/ss5/ss5.passwd # User Password username1234564. start socket5 # sh/etc/rc. d/init. d/ss5startdonetingss5... # chmodu + x/etc/rc. d/init. d/ss5 # chkconfig -- addss5 // optional # chkconfigss5on // optional # servicess5start5. check whether the # netstat-lntp | grepss5tcp000.0.0.0: 10800.0.0.0: * LISTEN14262/ss56. firewall configuration # vi/etc/sysconfig/iptables-AINPUT-mstate -- stateNEW-mtcp-ptcp -- dport1080-jACCEPT7. test socks5 to install Proxifier. By default, all requests go through socks58 and the default port is 1080. You can modify the default port vi/etc/init. d/ss5daemon/usr/sbin/ss5-t $ SS5_OPTS-b0.0.0.0: 10088 so that the default port is changed to 10088

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.