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

    Outgoing Rules

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 4 Posters 1.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.
    • S Offline
      smoothmove
      last edited by

      Hi all, I've recently moved from smoothie express and was wanting to be able to restrict my outgoing traffic and set up some basic outgoing rules.  Please see my uploaded screenshot for my rule details.

      When I disable the stock 'Default allow LAN to any rule' and enable my 80 and 443 traffic I cannot browse the web from my LAN… According to the tutorial (http://doc.pfsense.org/index.php/Example_basic_configuration) all I need to enable to browse the web and get updates. I've tried adding port 53 on there too but it makes no difference.

      It's probably something really simple that I'm overlooking. A quick pointer would be greatly appreciated!
      Screenshot.png
      Screenshot.png_thumb

      1 Reply Last reply Reply Quote 0
      • H Offline
        heper
        last edited by

        should work fine … check your firewall logs to see what is blocked and why.

        1 Reply Last reply Reply Quote 0
        • S Offline
          smoothmove
          last edited by

          if = LAN
          source = 192.168.1.2:40798
          destination = 192.168.1.1:53
          protocol = UDP

          There are quite a few of these with source ports in the higher random ranges. Interestingly, I disabled default allow any LAN rule and left both the anti lockout and bogon rules enabled and was still able to browse the www… is this meant to happen? I'm getting confused!

          1 Reply Last reply Reply Quote 0
          • C Offline
            cmb
            last edited by

            You need a rule to allow TCP/UDP 53 for DNS. You can browse only by IP with the rules you have in place there once you disable the default LAN rule. And can browse by DNS to any site that your client OS and browser has cached from before disabling that rule.

            1 Reply Last reply Reply Quote 0
            • S Offline
              smoothmove
              last edited by

              Thanks cmb! I had tried that shortly after posting and noticed it worked but I'm sure I read somewhere that pfsense didn't require you to specify DNS as an outgoing rule? Maybe I'm wrong… Thanks very much though!

              1 Reply Last reply Reply Quote 0
              • P Offline
                podilarius
                last edited by

                You still have to do DNS or any other service you are running on LAN. The anti-lockout rule only applies to access in the management tools (in my case tcp port 80,443,22). DNS would be blocked.

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