Page 1 of 1

Route only one local IP through the VPN Tunnel

Posted: Mon Apr 16, 2018 6:16 pm
by Tteg
Hello,

I have a problem with my configuration. I have one client, with the IP Address 192.168.8.201, and I want just to route this client through the tunnel.
I already was looking some on the internet, and I found out that I should use:

1.) Route-nopull
2.) Route 192.168.8.201 255.255.255.255

To route just this IP. But when I'am using this, I dont have any Internetconnection or LAN connection.
I am running LEDE with OpenVPN, and the VPNunlimited provider. It works so far really good for all clients, but I actually just route this ip through the tunnel.
Does someone know, how this works?
Thanks to all

Re: Route only one local IP through the VPN Tunnel

Posted: Mon Apr 16, 2018 9:40 pm
by Pippin
Yes, route-nopull and then policy routing.
Ask LEDE forum for how to...