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

    bothersome firewall, what's going on?

    Scheduled Pinned Locked Moved Firewalling
    12 Posts 3 Posters 1.1k Views 2 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.
    • R Offline
      r3g3x_abc
      last edited by

      Hello all,

      it my first time on this forum, so i didn't go deep into the rule, so sorry if i break one of them.

      OS: freeBSD 11.3-STABLE
      pfSense: 2.4.5-RELEASE (amd64)

      I have pfSense as a standalone VM on my proxmoxVE, i try figure out why, every time a new one adds an interface and I turn it on, it automatically turns on the firewall on all interfaces. When the firewall is turned off, the hosts have no problem communicating in both directions.

      I turn off the firewall with "pfctl -d", when I turn it on using "pfctl -e" there is no communication. It makes sense to me, but why does it cut all my traffic when I turn on the new interface? even to webGUI

      The above problem implies that every time my traffic disappears, whether to the web gui or to the network interface, I have to turn off the firewall

      with each single change in configuration, the firewall is turned on. It's exhausting

      Cool_CoronaC chpalmerC 2 Replies Last reply Reply Quote 0
      • Cool_CoronaC Offline
        Cool_Corona @r3g3x_abc
        last edited by

        @r3g3x_abc HAHAHAHAHAAHHAAHHAHAHAHAAHAHAHAHAH ๐Ÿ’จ

        R 1 Reply Last reply Reply Quote 0
        • R Offline
          r3g3x_abc @Cool_Corona
          last edited by r3g3x_abc

          @cool_corona

          Do you have something smarter to say? :) if this is all your knowledge, then you are a pathetic man :)). I know the importance of a firewall and will be on. In this case I do not understand why at every change I cut all traffic management. For completeness, I will add that I have been using pfSense for 3 days. So f ** k off

          1 Reply Last reply Reply Quote 0
          • chpalmerC Offline
            chpalmer @r3g3x_abc
            last edited by chpalmer

            @r3g3x_abc

            with each single change in configuration, the firewall is turned on.

            Yes. That is because the config is telling it to do so.

            Maybe you need to explain your intentions a little more.. Im assuming you are just attempting to route between interfaces without the use of the firewall function..

            pfSense is designed to be administered via the GUI. Command line options do work but can at times be confusing if you are not familiar with the setup and structure.

            Go to System / Advanced / Firewall & NAT and down to "Disable Firewall" and click the box. Easy peasy if that is what you really want.

            Otherwise make sure you have the correct firewall rules in place. By default the only interface that will have a pass rule is the LAN interface when you first set up. It is easy just to copy that rule and then change the interface on the "edit" page and save for each new interface.

            Cool_Corona must be off his meds again.. ๐Ÿ™„

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            R 1 Reply Last reply Reply Quote 1
            • R Offline
              r3g3x_abc @chpalmer
              last edited by

              @chpalmer said in bothersome firewall, what's going on?:

              That is because the config is telling it to do so

              I completely understand that, this is not my first virtual router ;), but usually I configured physic router eg. cisco 2811.

              I'm sure I'm doing something wrong, but maybe from the beginning.

              In my case, the WAN interface is configured first (everything is ok at this stage) only then, when it adds a LAN interface (which works in a different subnet), the firewall starts blocking everything, even the WAN interface (which disturbs me a lot in my navigation after the "web GUI"). I understand the operation and purpose of a firewall, but I have never experienced such behavior.

              chpalmerC 1 Reply Last reply Reply Quote 0
              • chpalmerC Offline
                chpalmer @r3g3x_abc
                last edited by

                @r3g3x_abc said in bothersome firewall, what's going on?:

                @chpalmer said in bothersome firewall, what's going on?:

                That is because the config is telling it to do so

                I completely understand that, this is not my first virtual router ;), but usually I configured physic router eg. cisco 2811.

                In my case, the WAN interface is configured first (everything is ok at this stage) only then, when it adds a LAN interface (which works in a different subnet), the firewall starts blocking everything

                When setting up the pfSense on a piece of hardware one can begin with just one interface which will be set up as "WAN". The firewall will not be on. Once you add a LAN interface then by default the system will enable the firewall on the WAN.

                By default during initial setup phase if you enable a WAN and a LAN interface the LAN interface is set up with an "Allow All" rule. The WAN will have no rules and therefore will block all incoming unsolicited traffic. LAN will work. Are you saying that your LAN with an allow all default rule is not passing traffic out the WAN?

                Triggering snowflakes one by one..
                Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                R 1 Reply Last reply Reply Quote 0
                • R Offline
                  r3g3x_abc @chpalmer
                  last edited by r3g3x_abc

                  @chpalmer

                  I am not sure if I understand correctly, but when I have enabled (with DHCP addressing) only the WAN interface works, but when I add a LAN interface, the firewall turns on on all interfaces and blocks all traffic to the pfSens machine. Then from CLI I have to use "pfctl -d" and everything starts to work.

                  Below I present my architecture (it's something really simple), so my surprise is even greater

                  20674cf4-81f9-460c-960e-7f47ee5f44fe-obraz.png

                  chpalmerC 1 Reply Last reply Reply Quote 0
                  • chpalmerC Offline
                    chpalmer @r3g3x_abc
                    last edited by chpalmer

                    @r3g3x_abc

                    Can you do some screenshots of your firewall rules? WAN and LAN.

                    This page.. or
                    /firewall_rules.php?if=lan specifically show an interface you are having problems getting traffic into.

                    FirewallRules.jpg

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      r3g3x_abc @chpalmer
                      last edited by

                      @chpalmer

                      sure, i just need to get the snapshot machines back to their original configuration

                      chpalmerC 1 Reply Last reply Reply Quote 0
                      • chpalmerC Offline
                        chpalmer @r3g3x_abc
                        last edited by

                        @r3g3x_abc

                        FireRule.jpg

                        This rule will pass everything. You are configured this way and still having problems then there is another issue somewhere.

                        Im running south for a couple of hours and will check back later.

                        Triggering snowflakes one by one..
                        Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

                        R 1 Reply Last reply Reply Quote 1
                        • R Offline
                          r3g3x_abc @chpalmer
                          last edited by

                          @chpalmer
                          for WAN:
                          fe6b2fae-1966-496c-affb-3c9a04d5bc01-obraz.png

                          Now I enable the LAN interface (as expected, the firewall has turned on) and disable the firewall. The state of the interfaces is now as below

                          38b29c6e-2b75-4d08-8496-e9242a49ea56-obraz.png

                          For LAN:
                          257ac592-4a4e-45d1-b3d6-51b2719f21b8-obraz.png

                          R 1 Reply Last reply Reply Quote 0
                          • R Offline
                            r3g3x_abc @r3g3x_abc
                            last edited by

                            @chpalmer

                            I think I understand now. The fact that the LAN interface is in a different subnet additionally confused me (the device from which the connection is in a different subnet, and I use a transfer station)

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