EverKB

Knowledge Base Ever

Namestite ss5 na CentOS7 za izvajanje proxy storitve SOCKS5

2019-11-25 14:02:04

Oznaka: CentOS, ss5, CentOS7, ss5-3.8.9, SOCKS, SOCKS5 Proxy Server, SOCKET, ss5.passwd, ss5.conf, Proxy strežnik

Nadgradite EPEL, namestite orodja za sestavljanje in odvisnosti

yum install epel-release
yum update -y

yum groupinstall 'Development Tools' -y
yum install gcc automake autoconf libtool make yum-utils wget -y

yum install pam-devel openldap-devel openssl-devel -y

Prenesite izvirno kodo, zberite in namestite

cd /usr/local/src/
wget https://jaist.dl.sourceforge.net/project/ss5/ss5/3.8.9-8/ss5-3.8.9-8.tar.gz
tar xzf ss5-3.8.9-8.tar.gz
cd ss5-3.8.9
./configure
./make
./make install

Spremenite konfiguracijsko datoteko, da omogočite pooblastilo uporabnika in gesla

Spremenite datoteko ss5.conf z vim, odstranite "#" iz "#auth" in "#permit" in spremenite pooblastilo iz "-" v "u" na naslednji način:
vim /etc/opt/ss5/ss5.conf
#     SHost      SPort           Authentication
auth  0.0.0.0/0  -               u

#      Auth  SHost      SPort  DHost      DPort  Fixup  Group  Band  ExpDate
permit u     0.0.0.0/0  -      0.0.0.0/0  -      -      -      -     -
Uporabite vim, da spremenite datoteko ss5.passwd, dodajte račun v obliki gesla prostora za uporabniško ime, vsako dejanje je račun, primeri so naslednji:
user    password
admin   TOPSECRET

Zaženite proxy storitev

/usr/sbin/ss5 -t

Oznaka

CentOS7 CentOS PHP Linux Python Python3 MySQL MariaDB YUM JavaScript HTML mysql_native_password PHP7 CSS Redis MySQL8 caching_sha2_password SQL Server width DATE_ADD ip command pg_bha.conf scrollbar Tcp BBR Compiling Apache Frameworks MySQL-python ss5-3.8.9 Apache2.4 Elasticsearch libpython3.7m.so.1.0 PHPStorm show VIM CURLOPT_POSTFIELDS NodeJs substr Bluetooth Failed to build these modules: _ctypes Minimal ISO SQL Date Funcitons Wi-Fi date sub INTERVAL PECL root Tag Cloud CodeIgniter font-size ss5 apache httpd dual network interfaces Laravel ShadowsocksR vertical-align CURLFille horiz-align node.js PyCharm SUBDATE BarManager exec mb_substr SOCKS5 Proxy Server WebStorm date add IntelliJIDEA PEAR remi Tag Chrome find src Apache du jQuery PHP5.5 Shadowsocks-Python V2Ray cURL hide nginx PostgreSQL sub folder availability eth0 MariaDB10.4 SOCKS5 Web Server date Install MongoDB pdo_sqlsrv register_shutdown_function Symfony File Upload mssql-tools sqlsrv Zend Framework ADDDATE DevExpress JetBrain php-fpm Shadowsocks-Libev unixODBC-devel height network interface string Aura error_get_last Port 80 SOCKS Web Development data INDENTIFIED BY password policy requirements Redis5 SVN Fedora Media Writer msodbcsql SQLAlchemy absolute Deepin jemalloc Shadowsocks toggle convert FuelPHP mysqlclient ss5.passwd at-symbol Error Control Operator margin PHPUnit Framework SOCKET vps daemon process IIS password sudoers center Fatal Errors MongoDB4 SQL Server 2017 WiFi .htaccess DATE_SUB Phalcon set_error_handler TestCase Compiling PHP frequency conflict ss5.conf apr Elasticsearch7.3 PHPUnit Slim Vincent Garreau daemon HTTP particles.js Sudo Failed to build these modules: _uuid MongoDB