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

    Connecting two Pfsenses

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 3 Posters 730 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.
    • K
      Kleber
      last edited by

      Hello,

      I need to connect both Pfsenses on Opt1 and I need a working Internet connection at Pfsense 2 Lan1.
      I added Static Routes but from Opt1 to Opt1 but its not working. Cant even ping the other Opt... now i deleted all my changes and wait for help...
      WAN IP is 192.168.13.101
      Internet Connection on Pfsense 1 Lan 1 is working.

      How do i Setup the Opt1's and what i need to do get Internet on Lan1 (Pfsense2).

      0_1539245916293_Pfsense.png

      V 1 Reply Last reply Reply Quote 0
      • S
        Symon
        last edited by

        https://forum.netgate.com/topic/103659/routing-between-two-directly-connected-pfsense-servers/5
        Does this help?

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

          @kleber said in Connecting two Pfsenses:

          Cant even ping the other Opt...

          What are the network settings on the OPTs?

          Just configure both with IPs within the same network.
          On pfSense2 add the OPT1 address of pfSense1 as a gateway and set it as default GW.
          On pfSense1 add the OPT1 address of pfSense2 as gateway. Then add a static route for 10.5.20.32/27 and select this gateway for the route.

          On pfSense2 disable the outbound NAT if you don't need it for other purposes.

          1 Reply Last reply Reply Quote 1
          • S
            Symon
            last edited by Symon

            I'm trying to get a similar thing working. I want workstations on LAN A to be able to use the WAN connection on pfSense B if the WAN on pfSense A goes down. (And vice-versa) I'm still working on it, and I'll let you know if I make progress. At the moment we have two WAN connections at each of the two buildings. I hope to be able to get rid of one connection at each building and maintain redundancy with the WiFi link.
            0_1539253594205_bf9069ef-839c-4fa9-a44b-a5b6a65b8c16-image.png
            Edit:- OK, so this "just works" if I follow viragomann's instructions. (Thank you!) I made the WiFi link as a subnet connecting OPT1 on each pfSense giving each OPT1 an IP address in that subnet. Then on each pfSense make a new gateway in system -> routing which points to the other pfSenses OPT1 IP address. Don't forget to fix up the OPT1 interfaces' firewall rules, of course. Then I also added a static route using the new gateways so that workstations on LAN A and see workstations on LAN B (and vice versa) via the WiFi link.
            Now, if I pull the WAN on one pfSense, traffic then goes via the link and out to the WAN on the other. Works like a charm. Next I'll try load sharing.

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