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

    Firewall review

    Scheduled Pinned Locked Moved Firewalling
    35 Posts 5 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.
    • GertjanG
      Gertjan @Antibiotic
      last edited by

      @Antibiotic said in Firewall review:

      What this svp?

      That's local language for S'il vous plait, or "Please".

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      A T 2 Replies Last reply Reply Quote 0
      • A
        Antibiotic @Gertjan
        last edited by

        @Gertjan Ok my friend, so suspect my rules were incorrect))))
        I did default:
        a2b6a159-9621-4990-9576-5f93e082c4be-image.png

        And will searching how to make in correct way, what I want.

        Fisrt rule restrict ports using only, what me allow to use inside local subnets
        Second rule restrict ports using, what me allow to use outside local subnets to internet. I do not know for this moment, how to make this correct, will search examples with a images by words difficult to imaging.

        pfSense plus 24.11 on Topton mini PC
        CPU: Intel N100
        NIC: Intel i-226v 4 pcs
        RAM : 16 GB DDR5
        Disk: 128 GB NVMe
        Brgds, Archi

        JonathanLeeJ 1 Reply Last reply Reply Quote 0
        • J
          Jarhead @Antibiotic
          last edited by

          @Antibiotic said in Firewall review:

          @Jarhead said in Firewall review:

          default Block All on all interfaces

          Block all to pfsense and allow all from pfsense? is it correct?

          You're not understanding still. All traffic is evaluated "entering" the interface that network is attached to.
          So yes, block all to pfSense if you wanna say it that way, but not allow all from pfSense because it depends on where that traffic is coming from.
          If it's from another interface on pfSense and blocked on that interface, it wouldn't be allowed from pfSense.

          @Antibiotic said in Firewall review:

          @Jarhead said in Firewall review:

          coming in

          I want to use ports which me allow coming out not come in

          So then you have to block or allow the traffic on the interface attached to pfSense.
          If you have a pc on OPT1, and you want to block it's traffic to the LAN, you put the block rule on OPT1. That blocks that pc's out as you're calling it.
          So you have to think about what each interface, or device, can access, and create rules to do that.

          A 2 Replies Last reply Reply Quote 0
          • A
            Antibiotic @Jarhead
            last edited by

            @Jarhead said in Firewall review:

            If it's from another interface on pfSense and blocked on that interface, it wouldn't be allowed from pfSense

            When you install pfsense this one is default rule on LAN
            7a0b112b-00fd-48f6-8759-f41079aaeb19-image.png

            Sorry protocol also any , it mean all allow out from interface LAN

            pfSense plus 24.11 on Topton mini PC
            CPU: Intel N100
            NIC: Intel i-226v 4 pcs
            RAM : 16 GB DDR5
            Disk: 128 GB NVMe
            Brgds, Archi

            J 1 Reply Last reply Reply Quote 0
            • A
              Antibiotic @Jarhead
              last edited by Antibiotic

              @Jarhead said in Firewall review:

              So then you have to block or allow the traffic on the interface attached to pfSense.

              tHAT WJY , ME ASKING CORRECT EXAMPLE TO ALLOW ONLY PORTS WHAT ME WANT TO COMMUNICATE ON SUBNETS AND COMMUNICATE WITH INTERNET. DO NOT HAVE A BIG EXPIRIENCE ,THAT ALL WHAT I WANT

              pfSense plus 24.11 on Topton mini PC
              CPU: Intel N100
              NIC: Intel i-226v 4 pcs
              RAM : 16 GB DDR5
              Disk: 128 GB NVMe
              Brgds, Archi

              1 Reply Last reply Reply Quote 0
              • J
                Jarhead @Antibiotic
                last edited by

                @Antibiotic It means allow all traffic from the LAN subnet to anywhere it wants to go.
                Once traffic is allowed into the firewall, it can then go anywhere.

                Don't know how else to say this, traffic is either allowed or blocked as it enters the interface from the network directly attached to that interface.
                If you're LAN is 192.168.1.0/24 and you have a pc at 192.168.1.2, and you want to block it from accessing the internet, you put the rule on the LAN interface, not the WAN.

                A 2 Replies Last reply Reply Quote 0
                • A
                  Antibiotic @Jarhead
                  last edited by

                  @Jarhead said in Firewall review:

                  from accessing the internet

                  i DO NOT WANT TO BLOCK INTERNET, JUST WANT TO RESTRICT TO PORTS NUMBERS WIHCH I WANT

                  pfSense plus 24.11 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

                  1 Reply Last reply Reply Quote 0
                  • A
                    Antibiotic @Jarhead
                    last edited by

                    @Jarhead said in Firewall review:

                    you put the rule on the LAN interface, not the WAN.

                    My friend if you have a time and desire can you please just simple show 2 examples
                    First allow only ports to use by local subnets which you set in your aliases

                    Second allow to communicate with internet outside of pfsense with ports which you set in second aliases

                    pfSense plus 24.11 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

                    J 1 Reply Last reply Reply Quote 0
                    • J
                      Jarhead @Antibiotic
                      last edited by

                      @Antibiotic said in Firewall review:

                      @Jarhead said in Firewall review:

                      you put the rule on the LAN interface, not the WAN.

                      My friend if you have a time and desire can you please just simple show 2 examples
                      First allow only ports to use by local subnets which you set in your aliases

                      Second allow to communicate with internet outside of pfsense with ports which you set in second aliases

                      I don't understand what you mean by either of those.
                      Give an exact example of what you want.

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        Antibiotic @Jarhead
                        last edited by Antibiotic

                        @Jarhead Yes , if possible and this action do not hurt you

                        pfSense plus 24.11 on Topton mini PC
                        CPU: Intel N100
                        NIC: Intel i-226v 4 pcs
                        RAM : 16 GB DDR5
                        Disk: 128 GB NVMe
                        Brgds, Archi

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jarhead @Antibiotic
                          last edited by

                          @Antibiotic No, I'm asking you to give an exact example of what you want to do.

                          A 1 Reply Last reply Reply Quote 0
                          • T
                            tedquade @Gertjan
                            last edited by

                            @Gertjan Actually "If you please"

                            Ted

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Antibiotic @Jarhead
                              last edited by Antibiotic

                              @Jarhead
                              Dude i think going communication between forest and sea. If you can read , I post what i want to do! If you do not want, than no problem

                              pfSense plus 24.11 on Topton mini PC
                              CPU: Intel N100
                              NIC: Intel i-226v 4 pcs
                              RAM : 16 GB DDR5
                              Disk: 128 GB NVMe
                              Brgds, Archi

                              J 1 Reply Last reply Reply Quote 0
                              • J
                                Jarhead @Antibiotic
                                last edited by

                                @Antibiotic Ok. Good luck.

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Antibiotic @tedquade
                                  last edited by

                                  @tedquade

                                  @tedquade said in Firewall review:

                                  Actually "If you please"

                                  @Jarhead said in Firewall review:

                                  you put the rule on the LAN interface, not the WAN.

                                  My friend if you have a time and desire can you please just simple show 2 examples
                                  First allow only ports to use by local subnets which you set in your aliases

                                  Second allow to communicate with internet outside of pfsense with ports which you set in second aliases

                                  pfSense plus 24.11 on Topton mini PC
                                  CPU: Intel N100
                                  NIC: Intel i-226v 4 pcs
                                  RAM : 16 GB DDR5
                                  Disk: 128 GB NVMe
                                  Brgds, Archi

                                  1 Reply Last reply Reply Quote 0
                                  • JonathanLeeJ
                                    JonathanLee @Antibiotic
                                    last edited by

                                    @Antibiotic I never needed loopback rules for my system.

                                    Make sure to upvote

                                    1 Reply Last reply Reply Quote 0
                                    • JonathanLeeJ
                                      JonathanLee
                                      last edited by

                                      Wan you only need to set what you want coming in. Anything originating from LAN that is approved will get out. So a VPN port if needed would be an example of a WAN rule. But I have only 1 wan rule everything else is block, my LAN has the rules

                                      Make sure to upvote

                                      1 Reply Last reply Reply Quote 0
                                      • A
                                        Antibiotic @Gertjan
                                        last edited by Antibiotic

                                        @Gertjan said in Firewall review:

                                        (I presume you already removed the "LAN subnets" from Source)

                                        f60d67d5-c687-4437-a0ed-6daf552e155d-image.png

                                        Source LAN subnet going to WAN gateway, by NetGate docs rule. Why need to remove source?
                                        I'm understood that rule correct apply to interface belong, but totally can be LAN subnet only direct to WAN gateway or VPN gateway only?

                                        pfSense plus 24.11 on Topton mini PC
                                        CPU: Intel N100
                                        NIC: Intel i-226v 4 pcs
                                        RAM : 16 GB DDR5
                                        Disk: 128 GB NVMe
                                        Brgds, Archi

                                        GertjanG 1 Reply Last reply Reply Quote 0
                                        • GertjanG
                                          Gertjan @Antibiotic
                                          last edited by

                                          @Antibiotic

                                          This is an image from what ? LAN ? WAN ?

                                          5ec61d2b-dfaa-4158-a6de-637e79a88754-image.png

                                          No "help me" PM's please. Use the forum, the community will thank you.
                                          Edit : and where are the logs ??

                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            Antibiotic @Gertjan
                                            last edited by

                                            @Gertjan

                                            This is LAN, first rule anti-lokout on LAN))) It mean possible to make rule where is LAN rule going to WAN gateway

                                            pfSense plus 24.11 on Topton mini PC
                                            CPU: Intel N100
                                            NIC: Intel i-226v 4 pcs
                                            RAM : 16 GB DDR5
                                            Disk: 128 GB NVMe
                                            Brgds, Archi

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