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

    IPsec LAN to LAN tunnel not working without corresponding firewall rules?

    Scheduled Pinned Locked Moved IPsec
    4 Posts 3 Posters 2.7k 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.
    • C
      c43amg1998
      last edited by

      Dear forum,

      I managed to get a IPsec tunnel between two pfsense machines up and connected (SAD and SPD established). But I did not get any pings/packets going until I added a corresponding firewall rule (ICMP/TCP) on the ipsec interfaces on each pfsense machine to let the traffic pass from one lan to the other lan. Is it supposed to be done this way? I thought to remember to have read somewhere (the book) that the IPsec connection adds an according firewall rule itself, kinda like the NAT port-forwarding.

      Thanks Stefan

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The automatic rule lets the actual IPsec traffic in on the WAN so the tunnel will come up.

        You need to add the rules on the IPsec tab to pass the traffic you want inside the tunnel.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • C
          c43amg1998
          last edited by

          Okay, as I thought…

          1 Reply Last reply Reply Quote 0
          • C
            craigduff
            last edited by

            Yea totally agree. I remember when i thought that when i first intalled Pfsense.

            Kind Regards,
            Craig

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