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