Use VPN only for Internet access and not LANs
Posted: Thu Oct 22, 2015 3:50 pm
Hi there,
I'm trying to find a way to only route the internet traffic though the VPN connection and not LAN traffic.
This is already working for LAN in the same subnet as my workstation but not for LANs with different subnets.
It's quite simple to understand since the local default gateway is replaced with the VPN gateway.
Is there a way to do that without changing managing manually the routes ?
Basically, all LAN traffic with Private IPs should use the LAN gateway. All public IPs traffic should be routed through the VPN gateway.
Thank you for your help.
Setup : Virtual Hub with SecureNat + Virtual DHCP
I'm trying to find a way to only route the internet traffic though the VPN connection and not LAN traffic.
This is already working for LAN in the same subnet as my workstation but not for LANs with different subnets.
It's quite simple to understand since the local default gateway is replaced with the VPN gateway.
Is there a way to do that without changing managing manually the routes ?
Basically, all LAN traffic with Private IPs should use the LAN gateway. All public IPs traffic should be routed through the VPN gateway.
Thank you for your help.
Setup : Virtual Hub with SecureNat + Virtual DHCP