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

    Block most ports

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 474 Views 3 Watching
    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.
    • M Offline
      MagikMark
      last edited by

      Is it recommended to block all ports that your network won't be needing?

      GertjanG 1 Reply Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @MagikMark
        last edited by

        @magikmark

        When pf; the pfSEnse firewall, loads, for each interface it finds; the last rule will be a block all rule.
        Up to you to declare a pass rule for traffic you want to pass, an extra last block rule is not needed.
        You might want to do it anyway, as this will show the traffic it hits :

        23b589db-ce8c-47a8-8249-6722a34abb7a-image.png

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

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

          Do you mean outgoing connections?

          You can allow only the ports you need. You will find there are a lot of ports you didn't realise you needed for most environments. 😉

          Steve

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