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

    Can't go to websites without universal allow.

    Scheduled Pinned Locked Moved Firewalling
    6 Posts 3 Posters 2.2k 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.
    • D Offline
      Disconnect
      last edited by

      Hello all,

      I am trying to tighten down my firewall.

      Unless I allow the rule *  *  *  *  *  *      Allow all TraffiI can't bring up websites, secured and unsecured.

      I have the following rules set up:
      TCP  *  80 (HTTP)  LAN address  80 (HTTP)  *      Allow Webpages

      TCP * 443 (HTTPS) LAN address 443 (HTTPS) *   Allow Secure Webpages

      ICMP * * * * *   WAN Ping 
      TCP/UDP 192.168.1.1 * LAN address 53 (DNS) *   Allow outgoing DNS

      TCP * * LAN address 53 (DNS) *   Block rogue DNS servers

      Anyone have any idea of where I am going wrong?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • D Offline
        danswartz
        last edited by

        You don't want HTTP or HTTPS for the source port numbers, only the destination port numbers.  TCP clients will almost always use an ephemeral (random) source port, so leave those as '*'.

        1 Reply Last reply Reply Quote 0
        • L Offline
          LEPM
          last edited by

          block  udp  LANnet * !lanaddress  53  * (block 4000+ dns of namebench!!) https://code.google.com/p/namebench/

          pass    udp  LANnet *  lanaddress  53  *

          pass    tcp  LANnet *    *        80  *

          pass    tcp  LANnet *    *      443  *

          pass    icmp  LANnet *    *      *    *

          Your new system is probably coming with some hyper trash like Windows 8

          1 Reply Last reply Reply Quote 0
          • D Offline
            Disconnect
            last edited by

            Thanks a lot, that's got it!

            On the ICMP rule, would it be bad to allow to ping on the wan(setting source to any instead of Lan net) too, can something follow a ping home?

            1 Reply Last reply Reply Quote 0
            • D Offline
              danswartz
              last edited by

              Hiding yourself from pings doesn't really make you any safer.

              1 Reply Last reply Reply Quote 0
              • D Offline
                Disconnect
                last edited by

                Point taken…

                I am noticing that FTP seems to be able to get out without an enable rule, I can create a rule to block it though.

                Any other ports that PFSENSE will have open by default?

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