To set up a multi-IP SOCKS5 proxy on CentOS, you can use a tool like Dante. Dante is a free, open-source SOCKS server that can be used to create a SOCKS5 proxy.

Here are the steps to set up a multi-IP SOCKS5 proxy using Dante on CentOS:

  1. Install Dante: To install Dante on CentOS, you can use the following command:
sudo yum install dante-server 
  1. Configure Dante: After installing Dante, you need to configure it to create a multi-IP SOCKS5 proxy. You can use the following sample configuration as a starting point:
logoutput: syslog 

internal: eth0 port = 1080
external: eth1

user.privileged: root
user.notprivileged: nobody

client pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 log: error connect disconnect
}

socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0 protocol: tcp udp
}

This configuration sets up Dante to listen on port 1080 on the internal interface (eth0) and use the external interface (eth1) as its source IP address. You can change the interfaces to match your specific setup.

  1. Start Dante: After configuring Dante, you can start it using the following command:
sudo systemctl start danted 
  1. Enable Dante on startup: To make sure that Dante starts automatically when the server restarts, you can use the following command:
sudo systemctl enable danted 

Once you have completed these steps, you should have a multi-IP SOCKS5 proxy running on your CentOS server. You can use this proxy to access the internet from different IP addresses, by connecting to the SOCKS5 proxy on port 1080.