VPN Verbindung steht, aber nicht zu lokalen Servern?
Moin,
Aktuell habe ich OpenVPN & Wireguard in meinem Heimnetz am laufen, um mich bsp. von der Berufsschule aus nach Hause verbinden zu können.
Problem ist jetzt nur, dass der Traffic zu Servern im Internet super funktioniert, ich mich aber nicht mit meinen lokalen Servern verbinden kann.
IP im aktuellen Netz: 192.168.178.135
Beispiel-IP im Heimnetz: 192.168.178.48:80
DNS-einstellungen vom Browser habe ich geprüft und keinen Fehler entdeckt. Meine Theorie ist, dass mein Laptop im falschen Netz sucht.
Gruß
The IP range of the VPN network must
Example:
You have the IP range 192.168.178.xxx at home. Then your VPN cannot assign IP addresses from this range.
Let’s say your VPN delivers IP addresses from 192.168.179.xxx. Then the network in which you are right now and want to connect to the VPN cannot use this IP range.
Is that guaranteed?
This is not necessarily a “must”, but more a “why pretty”.
At least, it should be ensured that VPN and DHCP server address areas do not overlap. Otherwise, it can bang.
Definitely.
Of course this is the problem…
The addresses 192.168.178.135/24 and 192.168.178.48/24 are both in the same subnet.
Therefore all traffic from 192.168.178.135 to 192.168.178.48 goes directly to the local network and not via the VPN.
So you’d have to switch your home network to another subnetwork.
Problem about the whole thing is that the VPN is standing and my phone has no problems with it in the same network. Only my laptop does not want to go there, which means that it cannot be on both private networks.