V
V
Vasily Ivanov2021-07-01 23:40:39
linux
Vasily Ivanov, 2021-07-01 23:40:39

How to forward to multiple ips in dante server?

I installed dante server on virtulbox and made the following settings in dante.conf:

logoutput: /var/log/danted.log
internal: 0.0.0.0 port = 4246
external: enp0s8
socksmethod: none
clientmethod: none

user.privileged: proxy
user.unprivileged: nobody

user.libwrap: 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
       log: error connect disconnect
}

route {
 from: 0.0.0.0/0 to: 0.0.0.0/0 via: 94.181.48.110 port = 1256
 proxyprotocol: http_v1.0
 command: connect
}


Now I can connect from my laptop via socks5 proxy to the virtual machine in firefox on port 4246 and the ip in the browser will change to 94.181.48.110. But I want to be able to use multiple different ip's. For example: When I connect in the browser on port 4247, then the ip changes to 94.181.48.110, and when I connect to 1080, the ip will be 191.101.39.20. All settings must be written in one file.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question