IP conflicts with local and remote LAN

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
Joseph22
OpenVpn Newbie
Posts: 3
Joined: Wed May 20, 2020 2:49 pm

IP conflicts with local and remote LAN

Post by Joseph22 » Thu May 21, 2020 9:36 am

Hello,
I have set up an OpenVPN and encounter some problems. Here is my architecture:

OpenVPN-Server has the IP 192.168.178.10/24 and the OpenVPN space is 172.17.10.0/24.

The UDP port 1194 is forwarded in my FritzBox. Additionally, there is RDP enabled on the server. This is also forwarded by the FritzBox.

Now I cannot connect to OpenVPN or RDP using the FritzBox public IP when I am in my home LAN (which has 192.168.178.67). If I turn on my mobile Hotspot, it works perfectly (IP is something of 10.X.X.X).

Is it necessary to reconfigure my remote LAN to use a different net? And can this problem occur if the OpenVPN server is not running, because I encounter this problem if the VPN server is running and if it is not.

Thanks a lot!

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7177
Joined: Fri Jun 03, 2016 1:17 pm

Re: IP conflicts with local and remote LAN

Post by TinCanTech » Thu May 21, 2020 11:08 am

Joseph22 wrote:
Thu May 21, 2020 9:36 am
OpenVPN-Server has the IP 192.168.178.10/24

..

Now I cannot connect to OpenVPN or RDP using the FritzBox public IP when I am in my home LAN (which has 192.168.178.67).
So your server is in your home on the same LAN as your client.

This means your FritzBox does not support hairpinning

Joseph22
OpenVpn Newbie
Posts: 3
Joined: Wed May 20, 2020 2:49 pm

Re: IP conflicts with local and remote LAN

Post by Joseph22 » Thu May 21, 2020 5:51 pm

I think so.

Remote LAN: 192.168.178.0/24
VPN Server: 172.17.10.0/24
Local LAN: 192.168.178.0/24


So I Need to reconfigure my remote LAN?

User avatar
Pippin
Forum Team
Posts: 767
Joined: Wed Jul 01, 2015 8:03 am

Re: IP conflicts with local and remote LAN

Post by Pippin » Thu May 21, 2020 5:57 pm


Joseph22
OpenVpn Newbie
Posts: 3
Joined: Wed May 20, 2020 2:49 pm

Re: IP conflicts with local and remote LAN

Post by Joseph22 » Thu May 21, 2020 6:07 pm

Thanks a lot, I already feared that :D

Post Reply