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

    Using a PFsense behind another PFsense

    General pfSense Questions
    4
    8
    1.6k
    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.
    • S
      sagaroth
      last edited by

      Hello everyone!

      Here, I'm stuck on a configuration that I would like to set up on my network.
      Currently, I have a PFsense in front of my network with a WAN interface and a LAN interface.
      My goal is to have a second one set up for HA. The problem is that my second PFsense must be up to date (and I only have a WAN IP). So I would have liked to temporarily put this second PFsense behind my first PFsense by indicating my PFsense 1 as a Gateway on my PFsense 2. I created a LAN interface on this PFsense2 on the same network as the LAN interface of my PFsense 1.

      Despite this, the traceroute to a public IP only sends me the first HOP and stops at PFsense 1 without going beyond it.

      Have I forgotten something ?

      Thank you in advance:)

      Translated with www.DeepL.com/Translator

      1 Reply Last reply Reply Quote 1
      • R
        realtec
        last edited by

        How have you set this up?

        The way I understand it is there is a CARP IP…. for example, 10.10.10.10 - Both boxes communicate over carp on that IP so you second PFSense box will update from you main one.

        1 Reply Last reply Reply Quote 0
        • S
          sagaroth
          last edited by

          At first I had set up a configuration via CARP, but the synchronization, so the recovery of WAN parameters from PFsense 1 was not done because PFsense 2 was not up to date.

          So that's why I opted for a temporary configuration of this kind:

          WAN <-> PFsense1 <-> LAN <-> PFsense2

          On my PFsense1, the LAN interface is in 10.10.10.1, on my PFsense2, the LAN interface is in 10.10.10.2.
          On my PFsense2, I have configured the gateway as PFsense1.

          1 Reply Last reply Reply Quote 0
          • S
            sagaroth
            last edited by

            Resolved, I've add a Outbound Rule on my 1st PFsense to allow my 2nd PFsense to go to WAN through is LAN interface :)

            A 1 Reply Last reply Reply Quote 1
            • A
              apame @sagaroth
              last edited by

              @sagaroth said in Using a PFsense behind another PFsense:

              Resolved, I've add a Outbound Rule on my 1st PFsense to allow my 2nd PFsense to go to WAN through is LAN interface :)

              Hello sagaroth,

              I'm going through a similar situation (one pfSense behind another pfSense) but i failed to create this Outbound Rule
              So can you tell us how to do it?

              Thank you in advance :)

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                The default outbound NAT rules will work fine in that situation if you are double NATing.

                You only need to be sure there are no subnet conflicts. At least one box must use a different LAN subnet.

                Steve

                A 1 Reply Last reply Reply Quote 0
                • A
                  apame @stephenw10
                  last edited by

                  @stephenw10
                  Thank you for your response,
                  I have the following IP configuration :
                  WAN <---> (10.10.1.1/24) pfSense1 (172.16.1.1/24) <---> LAN1 <---> (172.16.1.2/24) pfSense2 (172.30.1.1/24) <---> LAN2

                  so there is no subnet conflicts,

                  How to figure out the problem ?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Yes, if both those pfSense instances are running an otherwise default config that will work fine.

                    So if it's not it's because of something you have changed.

                    Firewall rules? Outbound NAT rules? WANs still using DHCP?

                    Steve

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