What is SOCKS: Socks: protocolforsessionstraversalw.ssfirewallsecurely
What is SOCKS: Socks: Protocol for sessions traversal firewall SS firewall securely SOCKS 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 view sourceprint? # Yum install pam-devel openldap-devel openssl-devel1.2 install 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 install2.1 modify the 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 to permit u 0.0.0.0/0-0.0.0.0/0---203 Row 3. add a socket 5 user # cat/etc/opt/ss5/ss5.passwd # User 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. check whether the instance is started # netstat-lntp | grep ss5tcp 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 pros5 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/ss5 daemon/usr/sbin/ss5-t $ SS5_OPTS-B 0.0.0.0: 10088 so that the default port is changed to 10088.