1
0
I want to use a vpn connection on my Debian server but I get disconnected from ssh if I connect to the vpn. I thought by using the "ip route add" I can prevent getting disconnected from my server and it will continue to use the main connection for communication between my computer and the server, and the vpn for communication with other ips.
This is the command I use
ip route add PUBLICHOMEIP via PUBLICSERVERIP
But I get disconnected after the "ip route add" command too. Am I making a mistake anywhere?
Can you provide the value of
PUBLICHOMEIP
andPUBLICSERVERIP
or are they too sensitive? Also, the common way to had a router through a router isip route add <subnet> via <router> dev <dev>
. – pilona – 2013-06-24T18:11:13.423I don't want to provide the full ip but it looks like this: x represents a single digit. ip route add 65.92.234.xxx via 178.18.xx.xxx – Arya – 2013-06-25T08:49:49.143