Socks5 interface binding issue using Dante on Debian

Background:

I have a VPN connection set up on debian using ppptp, the interface is ppp0 and I've tested it, it works fine.

I am trying to set up a socks5 proxy to listen on eth1 and go out ppp0, this way I can optionally browse via that VPN connection if I wish to from anywhere on the network.

With that having been said.. I tried tsocks but I didn't see any method for routing that socks proxy out ppp0.

I installed Dante and it looks like it has exactly what I need, there is an internal parameter that I have set to eth1, and an external parameter that has been set to ppp0 but no matter what I do, when I launch the proxy and connect it still routes traffic through eth0 which is my standard internet connection.

I'm running debian and dante v1.1.19, which is the latest debian version.. The dante config is attached, and there's nothing unusual in the dante log files.. no errors

So the questions I have:

1. Am I doing something wrong?
2. Is this a bug in the dante version that comes with debian?
3. Is there an alternative socks5 proxy for debian that will accomplish this interface binding?

The only thing I want to make sure I can do as well is have DNS look ups routed through the VPN as well.. I know Socks supports this.

Thanks!


logoutput: stderr /var/log/danted.log

internal: eth1 port = 1080

external: ppp0

method: username none

user.privileged: root
user.libwrap: proxy
user.notprivileged: nobody
extension: bind

client pass {
from: 192.168.0.124/0 port 1-65535 to: 0.0.0.0/0
}
pass {
from: 192.168.0.0/24 to: 0.0.0.0/0
command: bind
log: connect error
}
pass {
from: 192.168.0.0/24 to: 0.0.0.0/0
protocol: tcp udp
}

client block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}
block {
from: 0.0.0.0/0 to: 127.0.0.0/8
log: connect error
}
block {
from: 0.0.0.0/0 to: 172.16.0.0/12
log: connect error
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
command: bind
log: connect error
}
block {
from: 0.0.0.0/0 to: 0.0.0.0/0
log: connect error
}

Open in new window

riven1128Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

riven1128Author Commented:
I solved the issue myself
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Distributions

From novice to tech pro — start learning today.