Anonymity Personal SOCKS5 Proxy.

Fixxx

Moder
Joined
20.08.24
Messages
1,192
Reaction score
4,800
Points
113
1724905433815.png

This example will use a VPS running Ubuntu 22.04. So, let's get started. Connect to your server via SSH using the command:

ssh root@ip_of_the_server ​

Enter your password and you will be logged into the server. First, you need to update the server using the command:

apt update && apt full-upgrade ​

Now install the software needed for the proxy server using the following command:

apt install dante-server ​

Now you need to edit the proxy server configuration. Open the file danted.conf in the nano editor using the following command:

nano danted.conf​

The configuration file will open - delete ALL lines in it so that it's an empty file. After that paste the following lines into it:

logoutput: /var/log/socks.log​
internal: eth0 port = 1080​
external: eth0​
socksmethod: username​
user.privileged: root​
user.unprivileged: nobody​
client pass {​
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0​
log: error​
socksmethod: username​
}​
socks pass {​
from: 0.0.0.0/0 to: 0.0.0.0/0​
command: bind connect udpassociate​
log: error​
socksmethod: username​
}​
socks pass {​
from: 0.0.0.0/0 to: 0.0.0.0/0​
command: bindreply udpreply​
log: error​
}​

You can change the port to any other, the eth0 interface needs to be replaced if you use another interface to access the network. You can check this with the command:

ip link ​

Now you need to create a user for the proxy - this is done with the command:

useradd --shell /usr/sbin/nologin -m sockduser && passwd sockduser ​

The system will ask for a password for the user - come up with one and enter it. Now restart the service with the command:

systemctl restart danted ​


Now everything is ready - you can connect to your SOCKS5 proxy.
 
Last edited:
Top Bottom