Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Block Ports in IPSec Tunnel

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 3 Posters 2.9k 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.
    • S
      siri69
      last edited by

      Is it possibel to
      block different Ports in IPSec Tunnel,
      or only alow a few Ports in both directions ?

      LAN: 172.16.133.0/24

      IPSec: 172.16.18x

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

        You can block incoming, but there is no control for packets already entered into the tunnel.

        If you control both ends of the IPSEC tunnel then its possible to filter bi-directionally but if you do  not control the other endpoint then this is not doable at the moment.

        Same situation as m0n0wall.

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

          I thought firewalling/port restriction was not supported at this point: http://forum.pfsense.org/index.php?topic=744.0

          Im not sure Im understanding where you would restrict the ports for the tunnel except through the firewall ruleset.

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

            On the incoming interface (EG. LAN)

            1 Reply Last reply
            Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy