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

Restricting access to GUI from LAN - Still have access?

Scheduled Pinned Locked Moved Firewalling
firewallgui accessalias
8 Posts 2 Posters 974 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.
  • G
    gethersJ
    last edited by Jul 2, 2019, 12:43 PM

    Hi there,

    I am trying to lock down the access to our Management GUI to a certain IP Range, i have followed the guide thats on netgate's website: https://docs.netgate.com/pfsense/en/latest/firewall/restrict-access-to-management-interface.html

    Everything is identical, but once i turn Disable webConfigurator anti-lockout rule , we are still able to access the management gui from the LAN.

    Here is what i have set up:

    Aliases
    Firewall Aliases IP Range - 10.0.7.0/24
    Firewall Aliases Ports - 22, 443

    Firewall Rules on LAN
    b4ad44d9-16a9-409f-94b9-1dcfa600fa12-image.png

    But as i mentioned, even with these rules in place, i am still able to access the management from a different network to whats been defined in the alias that was created.

    Any help with this would be much appreciated.

    Thanks!

    1 Reply Last reply Reply Quote 0
    • N
      NogBadTheBad
      last edited by NogBadTheBad Jul 2, 2019, 2:31 PM Jul 2, 2019, 2:26 PM

      Killed the firewall states ?

      Bet if you put a log on your last rule it will show up as allowed.

      What subnet mask do you have on your LAN interface ?

      G 1 Reply Last reply Jul 2, 2019, 2:38 PM Reply Quote 0
      • G
        gethersJ @NogBadTheBad
        last edited by gethersJ Jul 2, 2019, 2:43 PM Jul 2, 2019, 2:38 PM

        @NogBadTheBad

        Hi thanks for the reply!

        "Killed the firewall states ?" Not sure entirely how you would do this.

        Hmm i tried it without that last rule and it was the same with or without that rule in.

        With regards to the Subnet mask of the LAN interface its on a /22, and the AdminPIX7Range is on a /24 Subnet. Both are on the 10.0.7 range though would this cause the issue?
        Further to this now, i have changed the management to be on /24 also, i will test the Rules again and see if this makes any change

        Thanks

        N 2 Replies Last reply Jul 2, 2019, 2:44 PM Reply Quote 0
        • N
          NogBadTheBad @gethersJ
          last edited by Jul 2, 2019, 2:44 PM

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • N
            NogBadTheBad @gethersJ
            last edited by NogBadTheBad Jul 2, 2019, 2:48 PM Jul 2, 2019, 2:46 PM

            @gethersJ said in Restricting access to GUI from LAN - Still have access?:

            @NogBadTheBad

            Hi thanks for the reply!

            "Killed the firewall states ?" Not sure entirely how you would do this.

            Hmm i tried it without that last rule and it was the same with or without that rule in.

            With regards to the Subnet mask of the LAN interface its on a /22, and the AdminPIX7Range is on a /24 Subnet. Both are on the 10.0.7 range though would this cause the issue?

            Its shouldn't if the alias is defined correctly.

            Further to this now, i have changed the management to be on /24 also, i will test the Rules again and see if this makes any change

            Thanks

            Diagnostics -> States -> Reset States

            Diagnostics -> States -> States then filter on the IP

            G 1 Reply Last reply Jul 2, 2019, 2:53 PM Reply Quote 0
            • G
              gethersJ @NogBadTheBad
              last edited by Jul 2, 2019, 2:53 PM

              @NogBadTheBad

              Cool thanks, ill try this tonight when no one is connected to the firewall.

              One thing i notice is, on the State Filter, if i look at the LAN interface i see a Established State there.

              The SOURCE is my PC's Default Gateway? , and not the actual IP Address of my PC. This would probably cause the issue as the DG is on the 10.0.7.X Network and my PC is on the 10.0.4.X network.

              Any reason why this may be?

              Thanks

              N 1 Reply Last reply Jul 2, 2019, 3:04 PM Reply Quote 0
              • N
                NogBadTheBad @gethersJ
                last edited by NogBadTheBad Jul 2, 2019, 3:10 PM Jul 2, 2019, 3:04 PM

                @gethersJ said in Restricting access to GUI from LAN - Still have access?:

                The SOURCE is my PC's Default Gateway? , and not the actual IP Address of my PC. This would probably cause the issue as the DG is on the 10.0.7.X Network and my PC is on the 10.0.4.X network.

                Any reason why this may be?

                Thanks

                Err the subnet for your LAN should be 10.0.4.0/22 so your PC and anything in 10.0.7.0/24 are directly attached and the default gatway should be the pfSense LAN interface.

                Your not using a managed switch with SVIs and routing 10.0.4.0/24, 10.0.5.0/24, 10.0.6.0/24 & 10.0.7.0/24 are you ?

                G 1 Reply Last reply Jul 3, 2019, 7:00 AM Reply Quote 0
                • G
                  gethersJ @NogBadTheBad
                  last edited by Jul 3, 2019, 7:00 AM

                  @NogBadTheBad

                  Hi,

                  Sorry i should have mentioned, yeah my PC is on the 10.0.4.X network (just as a test PC) , the aim here was to loose connectivity to the GUI from my PC, then i have another one on the 10.0.7.X range that "should" get access to the GUI.

                  After thinking about this last night I think I have sussed it out, we are going through a Proxy and this is the IP Address that accesses the Management GUI, hopefully I should be able to add some rules in our other proxy to avoid this Firewall bypassing it.

                  Ill let you know if i have any more issues or if i need more help with this.

                  Thanks for your help!

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post
                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                    This community forum collects and processes your personal information.
                    consent.not_received