jedisct1 / dsvpn

A Dead Simple VPN.
MIT License
5.16k stars 393 forks source link

A way to connect to the server through a specific interface? #60

Closed Llorx closed 4 years ago

Llorx commented 4 years ago

I have a client with 2 interfaces and 2 different IPs. I want to create a tunnel for a specific interface only, so I would like that all the traffic that goes through this tunnel is done along this specific interface.

Is there any way I can do that?

jedisct1 commented 4 years ago

Before starting the vpn, you can add a route to reach the server via that interface, or via its gateway.