wrong route table

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
gbbsoft
OpenVpn Newbie
Posts: 2
Joined: Wed Jul 20, 2022 8:22 pm

wrong route table

Post by gbbsoft » Wed Jul 20, 2022 8:34 pm

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?

gbbsoft
OpenVpn Newbie
Posts: 2
Joined: Wed Jul 20, 2022 8:22 pm

Re: wrong route table

Post by gbbsoft » Wed Jul 20, 2022 8:58 pm

I add to .ovpn file:

route-metric 500

And it helps... :-)

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: wrong route table

Post by openvpn_inc » Wed Jul 20, 2022 9:54 pm

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
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply