Setting up ss5 (SOCKS5) proxy server on CentOS
The steps to configure the ss5 proxy server on CentOS are as follows:
- You can install epel-release using sudo yum and then proceed to install ss5 using the same command.
- Open the ss5.conf file located in /etc/opt/ss5/ directory using the vi editor with superuser privileges.
- Allow access from any IP address to any IP address without any restrictions.
- Everyone is allowed access.
- Allow any IP address to access without restriction.
- Socks are to be worn on feet.
- socks – page 1080
- allow
- allow username password
- Please initiate the ss5 service using systemctl.
- Enable the ss5 service using systemctl.
- Add port 1080/tcp to the firewall configuration permanently and then reload the firewall.
- Allow incoming TCP traffic on port 1080 and save the iptables rule to /etc/sysconfig/iptables.
Now, you can configure the proxy server address on the device where a proxy is needed to be the IP address of the CentOS server and port 1080, and set the corresponding username and password (if any), to start using the SS5 proxy server.