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

    Default rule

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 927 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.
    • R
      rakeshvijayan
      last edited by

      Hello every one , I need  all help that I need a default rule on my lan ,to block all open port expect wanted port what should I do for that . I need essential services like mail ,https ,http, dns , dhcp , ftp. help me to write this rule

      Thanks

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

        Remove the 'default lan to any' rule. Everything will now be blocked except access to the webgui via the antilockout rule.
        Add rules to allow the services you want.
        There is no need to add a rule for DHCP, it's added automatically but not shown when you enable DHCP in the LAN.

        Steve

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