VPN override remote host ip if local network has the same ip
-
Hello,
My remote network is 192.168.1.0/24 and the home network is 192.168.1.24/0, when i connect to remote pfsense server through openvpn i can reach remote network but if my home network and remote network has the same ip address host then i can reach to local device instead of remote one.
For example :
192.168.1.50 : on remote network FileServer
192.168.1.50 : on home network my NAS device
when i connected to vpn i should be able to reach to 192.168.1.50 through rdp and ping but i can't. It's pinging my NAS device instead of remote file server.What am i possibly configuring wrong?
-
@yeahmagnets said in VPN override remote host ip if local network has the same ip:
My remote network is 192.168.1.0/24 and the home network is 192.168.1.24/0
Change at least the home network:
https://community.openvpn.net/openvpn/wiki/AvoidRoutingConflicts -
@Pippin said in VPN override remote host ip if local network has the same ip:
@yeahmagnets said in VPN override remote host ip if local network has the same ip:
My remote network is 192.168.1.0/24 and the home network is 192.168.1.24/0
Change at least the home network:
https://community.openvpn.net/openvpn/wiki/AvoidRoutingConflictsYeah that is an option but just think that you went to holiday and hotel's network is also 192.168.1.0/24 and some other guest's computer assigned 192.168.1.50 so you can't say leave that ip it conflicts with my file server can you?
There must be solution.