arrmo
Hi,
This has probably already been answered, but I have searched and can't find the answer ... :-(. So here goes ...
When I connect to my OpenVPN server, it adds a default route to my routing table, as you can see below,
IPv4 Route Table
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.138.104.1 10.138.104.89 70
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.3 80
0.0.0.0 0.0.0.0 10.138.82.1 10.138.82.78 20
10.138.82.0 255.255.255.0 On-link 10.138.82.78 276
10.138.82.78 255.255.255.255 On-link 10.138.82.78 276
10.138.82.255 255.255.255.255 On-link 10.138.82.78 276
10.138.104.0 255.255.248.0 On-link 10.138.104.89 291
10.138.104.89 255.255.255.255 On-link 10.138.104.89 291
10.138.111.255 255.255.255.255 On-link 10.138.104.89 291
127.0.0.0 255.0.0.0 On-link 127.0.0.1 306
127.0.0.1 255.255.255.255 On-link 127.0.0.1 306
127.255.255.255 255.255.255.255 On-link 127.0.0.1 306
192.168.1.0 255.255.255.0 On-link 192.168.1.3 286
192.168.1.3 255.255.255.255 On-link 192.168.1.3 286
192.168.1.255 255.255.255.255 On-link 192.168.1.3 286
224.0.0.0 240.0.0.0 On-link 127.0.0.1 306
224.0.0.0 240.0.0.0 On-link 10.138.82.78 276
224.0.0.0 240.0.0.0 On-link 10.138.104.89 291
224.0.0.0 240.0.0.0 On-link 192.168.1.3 286
255.255.255.255 255.255.255.255 On-link 127.0.0.1 306
255.255.255.255 255.255.255.255 On-link 10.138.82.78 276
255.255.255.255 255.255.255.255 On-link 10.138.104.89 291
255.255.255.255 255.255.255.255 On-link 192.168.1.3 286
===========================================================================
Persistent Routes:
None
Of the default routes,
10.138.82.78 is my wired LAN connection (local)
10.138.104.89 is my wireless LAN connection (local)
192.168.1.3 is my OpenVPN IP address
The issue is that when I am on my wireless local network, I have to manually change the metric for the OpenVPN route - I have done this above, forcing it to 80 ... or it's higher priority than my local network, and I lose my local network when connected to OpenVPN.
Is there a way to do this manually, either on the OpenVPN server or client?
Thanks!