Page 1 of 1

wrong route table

Posted: Wed Jul 20, 2022 8:34 pm
by gbbsoft
Hi.

Windows Server 2019
Network: 192.168.0.0/24

In 'OpenVPN Cloud' I create new network with subnet: 192.168.0.0/24.

On server with IP=192.168.0.233 I install client software.

Before 'ovpnconnector.exe start' route table is like this:

Code: Select all

Destination Netmask Gateway Interface Metric
...
192.168.0.0 255.255.255.0 On-link 192.168.0.233 281
...
After 'ovpnconnector.exe start' route table is like this:

Code: Select all

Destination Netmask Gateway Interface Metric
...
192.168.0.0 255.255.255.0 On-link 192.168.0.233 281
192.168.0.0 255.255.255.0 100.96.1.17 100.96.1.18 257
...
This causes that everything stop working...

After 'ovpnconnector.exe stop' route table didn't changed, why?

What can I do?

Re: wrong route table

Posted: Wed Jul 20, 2022 8:58 pm
by gbbsoft
I add to .ovpn file:

route-metric 500

And it helps... :-)

Re: wrong route table

Posted: Wed Jul 20, 2022 9:54 pm
by openvpn_inc
Hi gbb,

Really this is a question more appropriate to the OpenVPN Cloud forum, but anyway, this blog entry might help:

https://openvpn.net/blog/fix-ip-overlap/

However, usually the best choice is simply to use unique RFC 1918 networks in different locations.

regards, rob0