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

    Routing between two VPN

    Scheduled Pinned Locked Moved OpenVPN
    5 Posts 4 Posters 910 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
      mdrapeau
      last edited by mdrapeau

      Hello,

      I need some help on the configuration of my VPN, here is my infrastructure:

      9c8de216-8f4d-4a4a-9fcf-337777c85d08-image.png

      Currently "Site A" can communication with "Site B" and with "Client".
      The problem is "Client" can't communicate with "Site B" and I don't know how to make it possible...

      The last IP I can ping from Client is 10.1.30.1.

      Both Pfsense OpenVPN rules are configured to allow everything

      aea2e3fa-c4be-4e44-b528-a353d2572d1d-image.png

      I don't know how to fix this.
      If you want more screen, configurations files, you can ask me.

      Thank you !

      Mathieu Drapeau

      A 1 Reply Last reply Reply Quote 0
      • V
        viragomann
        last edited by

        You have to configure the VPNs to add to routes for the respective remote networks.

        In the OpenVPN access server settings on site A add the site B's LAN (192.168.17.0/24) to the "Local Networks" to push the route for it to the client.

        At site B you have to add the access servers tunnel network (10.2.30.0/24) to the "Remote Networks.

        1 Reply Last reply Reply Quote 0
        • A
          amy2 @mdrapeau
          last edited by

          @mdrapeau You might be able to do it with iptables, or you could do a double VPN with pfSense https://www.oilandfish.com/posts/double-vpn-pfsense.html

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            iptables with FreeBSD/pfSense? 😌

            -Rico

            1 Reply Last reply Reply Quote 0
            • M
              mdrapeau
              last edited by

              @viragomann I follow your advice and It works, I simply add 10.2.30.0/24 network access at site B.
              My mistake was I only gave access from Client till site B but not the reverse.

              Thank you !

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