Multiple Client routes
Posted: Wed Jan 18, 2023 9:10 am
I have recently managed to (finally) set up a VPN (Community edition) with the server residing on an old Windows 10 laptop (couldn't get a raspberry pi). I have two clients, also on Windows 10 laptops. One client is to access my home network from remote, insecure locations. This works fine with all internet traffic and home network traffic routed via the VPN. I can ping and tracert the traffic which shows the VPN is used.
The problem is with the second client which is designed to access a small number of sites via the VPN with everything else routed via usual gateway. By including the line
route domain.name 255.255.255.255
it works, with the logfile showing the route addition successful
Tue Jan 17 17:53:44 2023 C:\WINDOWS\system32\route.exe ADD domain.name MASK 255.255.255.255 10.**.**.1
Tue Jan 17 17:53:44 2023 Route addition via service succeeded
The problem comes when I try to add a second or subsequent route, it just fails to launch and I don't even get to the passphrase entry i/f.
I have searched the forum extensively (I think) and have found reference to this issue but none are identical and have found no solutions.
I wonder is it a limitation of Community edition OpenVPN? More likely, I am doing something stupid in the routing definition as I am new to this caper.
Anyone got any insights or ideally solutions?
The problem is with the second client which is designed to access a small number of sites via the VPN with everything else routed via usual gateway. By including the line
route domain.name 255.255.255.255
it works, with the logfile showing the route addition successful
Tue Jan 17 17:53:44 2023 C:\WINDOWS\system32\route.exe ADD domain.name MASK 255.255.255.255 10.**.**.1
Tue Jan 17 17:53:44 2023 Route addition via service succeeded
The problem comes when I try to add a second or subsequent route, it just fails to launch and I don't even get to the passphrase entry i/f.
I have searched the forum extensively (I think) and have found reference to this issue but none are identical and have found no solutions.
I wonder is it a limitation of Community edition OpenVPN? More likely, I am doing something stupid in the routing definition as I am new to this caper.
Anyone got any insights or ideally solutions?