Routing certain network through vpn
-
I need some help. I have an OpenVPN connection to a remote network. My subnet is 10.51.50.0/24 and Im trying to access 192.168.100.0/24. The system used to work without a problem. All the sudden a couple of days ago I was not able to access the remote network. It just so happens that the remote network is the same subnet as the management gui for the cable modem (192.168.100.1).
How do I force traffic destin for 192.168.100.0/24 network to go through the VPN and not out the WAN interface.
Thanks
bob
-
Do you have a VIP on WAN for that modem mgmt subnet?
Check the system routing table in Diag > Routes. Do you see the subnet routed via OpenVPN?
Steve
-
@stephenw10 I looked at all the routes and noticed something. II have two different VPNs but they are pointing to the same interface.
192.168.14.0/24 255.255.255.0 UGS 14 1500 ovpnc1
192.168.100.0/24 255.255.255.0 UGS 14 1500 ovpnc1
255.255.255.0 link#19 UH 12 1500 ovpnc1192.168.14.0 is ovpnc1 and 192.168.100.0 should be ovpnc2
Ive been looking around but I can not find the option to change the interface.
edit:
192.168.100.0 network does say
Unique VPN ID Client 2 (ovpnc2)192.168.14.0 network says
Unique VPN ID Client 1 (ovpnc1) -
Are those the tunnel subnets or remote subnets at the sites those clients connect to?
-
@stephenw10 These are the subnets of the remote networks. The tunnel subnets are 10.10.10.0 and 10.10.11.0.
-
Are the clients assigned interfaces? I would certainly expect to see those via the correct clients.
Do you see the gateways on the correct clients?