Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Block an alias from accessing the internet - is this configuration correct?

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 5 Posters 349 Views 5 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.
    • N Offline
      netboy
      last edited by

      I have this subnet called IOTP4 and the alias Deny_internetAccess points to a group of IP's in my 172.xxx.xxx.xxx subet i want BLOCKED from internet access. The WAN_subnet is an alias point to my "static" address give to me by my internet provider xxx.xxx.xxx.xxx/26 - Does this configuration essentially BLOCK internet access to my Deny_internetAccess IP's?

      a7a3b156-2107-48a8-910a-18fc744680f0-CleanShot 2026-09-13 at 11.46.32 AM.png

      N 1 Reply Last reply Reply Quote 0
      • N Offline
        netblues @netboy
        last edited by

        @netboy No, it doesn't It just blocks access to your localy connected public ip network.
        Change destination to * for what you are asking.

        N 1 Reply Last reply Reply Quote 2
        • N Offline
          netboy @netblues
          last edited by

          @netblues Thank you - if i change the Destination as "Any" will this BLOCK Deny_internetAccess alias from accessing internet? will this have any issues of the IP's in Deny_internetAccess from talking to each other (any unintended consquence?)

          N SteveITSS 2 Replies Last reply Reply Quote 0
          • N Offline
            netblues @netboy
            last edited by

            @netboy A firewall can only control passing traffic through it.
            What happens on the same broadcast domain is irrelevant. (unless we are talking about bridged l2 segments which I suspect isn't your case)

            1 Reply Last reply Reply Quote 0
            • SteveITSS Offline
              SteveITS Galactic Empire @netboy
              last edited by SteveITS

              @netboy Netgate has examples but they are in the product manuals:
              https://docs.netgate.com/pfsense/en/latest/solutions/netgate-4200/opt-lan.html#isolated

              To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
              Only install packages for your version of pfSense.
              Upvote 👍 helpful posts!

              N 1 Reply Last reply Reply Quote 1
              • N Offline
                netboy @SteveITS
                last edited by netboy

                @SteveITS I have since changed WAN_subnet destination to "Any" like so

                1e727b0a-8e90-4d00-a643-3419c5b565e8-CleanShot 2026-09-13 at 1.57.10 PM.png

                Kindly confirm this will BLOCK the alias Deny_internetAccess to internet?

                (ignore the "Description" i can chnage it later)

                SteveITSS GertjanG 2 Replies Last reply Reply Quote 0
                • SteveITSS Offline
                  SteveITS Galactic Empire @netboy
                  last edited by

                  @netboy yes but you haven’t allowed DNS to pfSense or elsewhere. Check the example above

                  To upgrade, select your branch in System/Update/Update Settings. When upgrading, allow 10-15 minutes to reboot, or more depending on packages, CPU, and/or disk speed.
                  Only install packages for your version of pfSense.
                  Upvote 👍 helpful posts!

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

                    @netboy said in Block an alias from accessing the internet - is this configuration correct?:

                    confirm this will BLOCK the alias Deny_internetAccess to internet?

                    Have a look for yourself (we can't ^^).
                    Your initial post shows

                    3a0e3665-d57e-4ed0-82da-32dbaaeba650-image.png

                    You see the "States 0/0 B" ? That means there was no traffic that matches the rule.
                    Compare with the last version :

                    f294f96d-4279-401e-9433-96ae6ffb392e-image.png

                    Now, there is 2,68 Mbytes of traffic blocked.
                    You are also logging the blocked traffic, so, why not have a look at the firewall log ? There you can see the traffic that was blocked by this rule (that log is the one that confirms what happened), and the most important part ; all the source IPs that will match the "Deny_InternetAccess" alias range, your 72.xxx.xxx.xxx subnet.

                    No "help me" PM's please. Use the forum, the community will thank you.

                    N 1 Reply Last reply Reply Quote 1
                    • N Offline
                      netboy @Gertjan
                      last edited by

                      @Gertjan Thank you. I never realized the "states" column does show the rejected info. The logs does show this worked.

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

                        @netboy
                        Not 'reject'.
                        It shows how may packets (and bytes) matched the rules, how many states are 'right now' present.

                        What the rule does when a packet matched, is shown like this :

                        7fa7690f-b6dd-46a6-afba-8684db017cc5-image.png

                        or

                        045c8639-30e4-4699-adca-d15895b388a9-image.png

                        or

                        a9ab306f-1c3e-4c25-b4e0-837f37a15b25-image.png

                        "Block", "reject" or "pass".

                        As you can see, every pixel in the GUI contains useful information ^^

                        No "help me" PM's please. Use the forum, the community will thank you.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S Offline
                          stephenw10 Netgate Administrator
                          last edited by

                          The important thing to realise here is that 'WAN subnets' is not the internet. It's only the locally connected subnets on the WAN interface. Which is why it wasn't matching any traffic initially.

                          N 1 Reply Last reply Reply Quote 1
                          • N Offline
                            netboy @stephenw10
                            last edited by

                            @stephenw10 Yes i did learn that :-) Thx

                            1 Reply Last reply Reply Quote 1
                            • First post
                              Last post
                            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                            Privacy Policy · Cookie Policy