I have correctly installed Dante on Ubuntu server as a proxy, and it works, but I must have e multiple instances of it (each of them has to works in different port).
I have tried it in this way:
tomas@server: $ sudo cp /etc/sockd.conf /etc/sockd222.conf
tomas@server: $ sudo nano /etc/sockd222.conf
logoutput: /var/log/socks222.log
internal: enp0s3 port = 1081
external: enp0s3
[...]
tomas@server: $ sudo cp /etc/init.d/sockd /etc/init.d/sockd222
tomas@server: $ sudo nano /etc/init.d/sockd222
NAME=sockd222
[...]
tomas@server: $ sudo /etc/init.d/sockd222 start
But this doesn't work because the file /etc/init.d/sockd Isn't programmed for multiple instances. How do I need to edit that file to allow it?
Thank you