CentOS Build SOCKET5 Proxy Server

Source: Internet
Author: User
Tags erro

1. Install the SOCKET5 dependent package yum-y install GCC automake make pam-devel openldap-devel cyrus-sasl-devel 2. Download and install the download website:/http ss5.sourceforge.net/Package:http://iweb.dl.sourceforge.net/project/ss5/ss5/3.8.9-6/ss5-3.8.9-6.tar.gz  Note: Do not download the latest version of SS5-3.8.9-7.TAR.GZ, this package installed after the cloth can not start, reported the following error: [11/dec/2012:14:44:50 CST] [INFO] SS5 Version 3.8.9-release 7 starting [11/dec/2012:14:44:50 CST] [INFO] Copyright (C) 2002-2011 by Matteo Ricchetti-<[email protected]>[11/dec/2012:14:44:50 CST] [INFO] Setting dyn Amic configuration. [11/dec/2012:14:44:50 CST] [INFO] Cleaning old configuration. [11/dec/2012:14:44:50 CST] [INFO] Loading and validating new configuration. [11/dec/2012:14:44:50 CST] [0] [Erro] $S 5loadconfdata$: (No such file or directory). [11/dec/2012:14:44:50 CST] [Erro] Configuration not switched. [email protected]:~# tar zxvf ss5-3.8.9-6.tar.gz[email protected]:~# CD ss5-3.8.9[email protected]:~#./configure && make && make install[email protected]:~# CD/ etc/opt/ss5[email protected]:/etc/opt/ss5# lsss5.conf  ss5.ha  ss5.passwd ss5.conf configuration #auth    0.0.0.0/0              -           - -Remove comments, Change to auth    0.0.0.0/0              -              UU: Login with ss5.passwd account password-: By default, anyone can use   #permit-       0.0.0.0/0      -&nbsp ;     0.0.0.0/0      -     -     -     -     -Remove Comments: Permit-       0.0.0.0/0      -      0.0.0.0/0 & nbsp    -     -     -     -     -  add username and password VI M ss5.passwdtest test 3. Start Socks Service test [email protected]:~# chmod 777/etc/rc.d/init.d/ss5[email protected]:~#/etc/init.d/ss5 start& NBsp

If you encounter problems can ' t unlink pid file/var/run/ss5/ss5.pid

This is because there are already ss5 running,PS -A | grep ss5

kill It again and start again.

Add SS5 to the service and start randomly

Chkconfig--add SS5

Chkconfig SS5 on

This allows direct service SS5 restart without specifying a path/etc/init.d/ss5

The default is the port

Change SS5 port to ss5 - B IP Address: port

CentOS Build SOCKET5 Proxy Server

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.