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.
    • 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
                                  • GertjanG
                                    Gertjan @Antibiotic
                                    last edited by

                                    @Antibiotic

                                    IMHO, rules look fine to me.

                                    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 Antibiotic

                                      @Gertjan Yea, I know that look fine because its from NetGate docs! Want to warry that as mentioned above you told that rule source LAN can not be for WAN)))

                                      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
                                      • First post
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.