Page 1 of 1

Routing issue

Posted: Sun Jan 16, 2022 9:27 pm
by Ghislain
Hello,

I'm using OpenVPN on a Macbook as client and OpenVPN on Linux as server at work. My network at work is 192.168.x.x.

When I share my smartphone internet connection with my Macbook, the VPN works fine and I can connect the server at work.

But when I'm trying from home it's not working, I can't connect servers at work.

I think the issue comes from the network at home is also 192.168.x.x. When I go on 192.168.1.1 from home with VPN connected, I've the home router page and not the touter page from work.

Internet connection works fine. OpenVPN Client give the address 10.8.x.x

What do you think ? How can I solve it ?

Thanks a lot in advance.

Enjoy your day

Ghislain

Re: Routing issue

Posted: Wed Jan 19, 2022 6:31 pm
by openvpn_inc
Hi Ghislain,

This really isn't a client issue. You appear to be up against the fact that you can't have more than one route to a given logical netblock. If home and work are both using the same network address, you need to change one or the other. Experienced VPN administrators know to avoid the common RFC 1918 choices for off-the-shelf routers.

I would definitely choose to change the work network, because this same problem will hit other users, as well as many who might try to connect from an open wifi hotspot.

regards, rob0

Re: Routing issue

Posted: Wed Jan 19, 2022 7:18 pm
by Pippin
openvpn_inc wrote:
Wed Jan 19, 2022 6:31 pm
...
avoid the common RFC 1918 choices for off-the-shelf routers.
https://community.openvpn.net/openvpn/w ... gConflicts

Re: Routing issue

Posted: Tue May 16, 2023 1:55 pm
by funwisely
It seems that both of the private networks (Home and Office VPN) using same subnet 192.168.x.x If you look at detailed VPN documentation, it may help you. Thanks!