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

    Need some help with routing between sites thru openvpn

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 505 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.
    • M
      Melcosoft
      last edited by

      Hello every one. Got last issue with my project of reaching local IP from external IP.
      So I have 2 sites with 2 ProxMox servers with running 2 PfSense on both sites.
      VPN is already done with OpenVPN (was Ipsec also but I change it )and connection is fine. I can reach all IPs from both PfSense shells.
      Site 1 - got 2 External IPs + internal 192.168.0.0 network
      Site 2 - got 1 External IP + internal 192.168.1.0 network

      Site 1 got 2 WAN IPs
      I'm trying to port forward (or 1:1) second external IP from Site 1 to Site 2 local IP.

      If I'm doing Port Forward with Site 1 local IP - all works good
      If I'm changing to Site 2 local IP - nothing works. Getting state 0:0.

      R 1 Reply Last reply Reply Quote 0
      • R
        rcoleman-netgate Netgate @Melcosoft
        last edited by

        @melcosoft You likely want to do WAN failover and have a Dynamic DNS entry committed to whatever your primary gateway is at the moment and have the Site 1 OVPNS configured to use the failover gateway group for your connection.

        That's how my connection is set up (when I have Multi-WAN -- which is not the case right now) and the DynDNS record is set up for a 30-second resolution. Total overkill 99.9995% of the time but very helpful when you have a fail-over and you need an FQDN to resolve back to you when you connect to the remote host.

        Ryan
        Repeat, after me: MESH IS THE DEVIL! MESH IS THE DEVIL!
        Requesting firmware for your Netgate device? https://go.netgate.com
        Switching: Mikrotik, Netgear, Extreme
        Wireless: Aruba, Ubiquiti

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