Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    VPN override remote host ip if local network has the same ip

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 360 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Y
      yeahmagnets
      last edited by

      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?

      PippinP 1 Reply Last reply Reply Quote 0
      • PippinP
        Pippin @yeahmagnets
        last edited by

        @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

        I gloomily came to the ironic conclusion that if you take a highly intelligent person and give them the best possible, elite education, then you will most likely wind up with an academic who is completely impervious to reality.
        Halton Arp

        Y 1 Reply Last reply Reply Quote 1
        • Y
          yeahmagnets @Pippin
          last edited by

          @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/AvoidRoutingConflicts

          Yeah 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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.