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

    Bleedover of services

    Scheduled Pinned Locked Moved Firewalling
    15 Posts 3 Posters 1.6k 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.
    • C Offline
      criley @johnpoz
      last edited by

      @johnpoz That is why I am so confused. I checked and I do not have a deny all rule on the Wan side, I do have the Block private networks rule, the Block bogon networks, then a rule to allow ICMP and then I start with individual port openings where I open FTP, HTTP, HTTPS, etc.

      This firewall has been running for years and I am just wondering if there is a rule that was dropped over that period or was lost in a upgrade.

      I am running all of my scans from a entirely different network that should not have any elevated privileges.

      Any assistance is greatly appreciated as I got bosses breathing down my neck.

      S johnpozJ 2 Replies Last reply Reply Quote 0
      • S Offline
        SteveITS Rebel Alliance @criley
        last edited by

        @criley LAN has "allow to all" rules by default. All other interfaces have no rules, so the default deny rule applies and all traffic gets dropped unless allowed.

        Do you have any WAN rules or NAT rules allowing ports 8081 or 8443?

        In pfBlocker DNSBL settings do you have "Web Server Interface" set to WAN?

        You can view active rules: https://docs.netgate.com/pfsense/en/latest/firewall/pf-ruleset.html

        Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
        Upvote ๐Ÿ‘ helpful posts!

        1 Reply Last reply Reply Quote 0
        • johnpozJ Offline
          johnpoz LAYER 8 Global Moderator @criley
          last edited by

          @criley do you have any rules in floating? Can you post up your wan rules..

          As mentioned the default is deny, it is not shown.. If there is no allow rule on wan, or in floating then unsolicited traffic is denied by default.

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            criley @johnpoz
            last edited by

            @johnpoz I am not sure how to post just the WAN rules so I zipped up and attached both the firewall and nat rules. I appreciate you taking a look and hopefully pointing me into the right direction.

            firewall-rules.zip

            johnpozJ 1 Reply Last reply Reply Quote 0
            • johnpozJ Offline
              johnpoz LAYER 8 Global Moderator @criley
              last edited by

              @criley said in Bleedover of services:

              I am not sure how to post just the WAN rules

              simple screen shot

              An intelligent man is sometimes forced to be drunk to spend time with his fools
              If you get confused: Listen to the Music Play
              Please don't Chat/PM me for help, unless mod related
              SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                criley @johnpoz
                last edited by

                @johnpoz Here we go....
                firewall.png

                johnpozJ 1 Reply Last reply Reply Quote 0
                • johnpozJ Offline
                  johnpoz LAYER 8 Global Moderator @criley
                  last edited by

                  @criley do you have anything floating tab..

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    criley @johnpoz
                    last edited by

                    @johnpoz Here you go

                    floating.png

                    johnpozJ 1 Reply Last reply Reply Quote 0
                    • johnpozJ Offline
                      johnpoz LAYER 8 Global Moderator @criley
                      last edited by johnpoz

                      @criley well you got any any rule from anything NA

                      bad.jpg

                      And what are those rules 80 and 443 that don't show any interface? Pretty sure those would allow on any interface.. From looking at the rule in the zip you sent.

                      pass inet proto tcp from any to any port = http flags S/SA keep state label "USER_RULE: Global HTTP" ridentifier 1472233311
                      

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                      C 1 Reply Last reply Reply Quote 0
                      • C Offline
                        criley @johnpoz
                        last edited by

                        @johnpoz Those two rules that you pointed out were put their by pfBlockerNG. I have disabled them and will retest.

                        johnpozJ 1 Reply Last reply Reply Quote 0
                        • johnpozJ Offline
                          johnpoz LAYER 8 Global Moderator @criley
                          last edited by

                          @criley well your using pfblocker wrong then ;) It only does what you tell it to do.. But a floating quick rule would be evaluated before any rules on your wan interface.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 25.07.1 | Lab VMs 2.8.1, 25.07.1

                          C 1 Reply Last reply Reply Quote 0
                          • C Offline
                            criley @johnpoz
                            last edited by

                            @johnpoz I went ahead and disabled both of those as well as the global http that you mentioned and I am still able to see ssh as well as the 8081 and 8443 both of which are from PFBlocker. Like I said the thing that really makes me crazy is why ssh still shows and when I try to ssh to the servers ip it drops me at the firewall ssh prompt.

                            S 1 Reply Last reply Reply Quote 0
                            • S Offline
                              SteveITS Rebel Alliance @criley
                              last edited by

                              @criley Did you have open states?
                              https://docs.netgate.com/pfsense/en/latest/troubleshooting/firewall.html#new-rules-are-not-applied

                              What are the NAT rules for port 22?

                              pfBlocker blocks are generally added to LAN (outbound) or WAN (inbound) and not floating rules which can appear unpredictable to those not familiar with them.
                              https://docs.netgate.com/pfsense/en/latest/nat/process-order.html#floating-rules-notes
                              https://docs.netgate.com/pfsense/en/latest/firewall/floating-rules.html

                              Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                              When upgrading, allow 10-15 minutes to reboot, or more depending on packages, and device or disk speed.
                              Upvote ๐Ÿ‘ helpful posts!

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