Tuesday, February 22, 2011

Adding route for vpn

It is as simple at is seems,
adding a route on a client for a vpn far away.
Normaly all ip packages that are not for the local network
find the way over the gateway.
But were gateway and vpn server are different machines,
every pc must get a route for the vpn and gateway.

On Debian-PC adding route with this:
route add destinationip gw gatewayip


If it works show you ping!