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

    NAT Port Forwards not working after restoring settings on new install.

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 3 Posters 458 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.
    • I
      ItsMrB
      last edited by

      Recently I swapped the HDD on my PFsense box to a SSD after the HDD started to fail.
      When I replaced the drive I re installed PFsense and imported the backup I had.
      Everything seemed ok until I noticed all port forwards are no longer working. Looking at the web ui and can see the NAT rules are in place as well as the Firewall rule created by NAT.

      After noticing this, I tried to create another port forward and the same issue stands. Can’t connect even though the rules are in place.

      The IP addresses that the ports are beginning forwarded to are the same as before the HDD replacement / upgrade due to a static DHCP mapping and static mappings on the OS.

      The only other change I have made is installing HAProxy so I can use SSL on another port. However as far as i am aware this should not affect the existing NAT firewall rules.

      One plan is to possibly re-install PFsense and re-create the firewall rules and restore the raminging settings.
      However before I take these steps, Can anyone advise what else i can check before i take the steps to go as far as re installing etc.

      S 1 Reply Last reply Reply Quote 0
      • jimpJ jimp moved this topic from Problems Installing or Upgrading pfSense Software on
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        First thing to do is make sure the traffic is arriving at the WAN. So I would run a pcap there so you can see it.
        If it is arriving I'd check the state table to see if that's opening states and where. You should see the NAT translation in the state on WAN.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          Sekkulisukka @ItsMrB
          last edited by Sekkulisukka

          @itsmrb

          I noticed couple days ago. Latest backups are limited. I restored backup from early 2022 and then restore latest backup. Then all was fine.

          I use 22.05.

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

            Hmm, not really sure what you mean by that. When you backup the config the complete config is backed up every time. It's not incremental.

            Steve

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