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

    access GUI from unused port?

    webGUI
    4
    10
    956
    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.
    • buggzB
      buggz
      last edited by

      Hello,

      Can you access the GUI from an unused port?
      If so, how would you do this?

      Thanks!

      V GertjanG 2 Replies Last reply Reply Quote 0
      • V
        viragomann @buggz
        last edited by

        @buggz
        What do you mean with "unused port" exactly?

        buggzB 1 Reply Last reply Reply Quote 0
        • buggzB
          buggz @viragomann
          last edited by buggz

          @viragomann

          Hello,

          I recently changed my network to all 2.5G
          On my pfsense box, I have installed a QNAP QXG-2G2T-I225 Dual Port 2.5GbE 4-Speed Network Card.
          2.5G WAN, 2.5G LAN
          Everything has been been working great, TP-Link TL-SG108-M2, 8 Port Multi-Gigabit Unmanaged Network Switch.

          I have on my pfsense box the unused built in NIC.
          I have successfully used it in the past as my WAN device.
          Right now, it is idle, not even defined.
          I would like to use this as a separate subnet LAN for GUI access.

          Hah, I think I just answered my own question.
          Let me try this...

          V 1 Reply Last reply Reply Quote 0
          • V
            viragomann @buggz
            last edited by

            @buggz
            Basically you can do this, but it makes no sense.
            You have just to ensure that a rule on the incoming interface is passing the traffic for accessing the webGUI.
            And pfSense has to be the default gateway or you even need a route on the accessing device, so that the packets are directed to pfSense.

            Say the unused interface is WAN1 and you want to access the GUI from LAN, you have add the proper rule on LAN.

            However, you can also assign the additional IP to the LAN interface directly als virtual IP alias and use it to access the GUI.

            buggzB 1 Reply Last reply Reply Quote 1
            • buggzB
              buggz @viragomann
              last edited by buggz

              @viragomann
              Thanks for your reply!
              The details remain a bit over my understanding right now, but I did get something to work.
              Though, noticed a WHOLE bunch of outside IPs trying to connect, gah!
              They were all denied, though, I disabled the port, not feeling too comfortable...

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

                @buggz said in access GUI from unused port?:

                Can you access the GUI from an unused port?

                First, assign the not used port :
                Goto System > Assign interfaces :

                0cf4e7cf-f9df-4780-aa8a-0c064f55018c-image.png

                Click on Add.

                9166e24c-12c2-4942-b09f-49f36abd586e-image.png

                Now Click on the newly created OPT4.

                a4ca6982-18ad-4b33-b4be-9b998ebf43a9-image.png

                Give it a name, like LAN4 - select "Static IPv4" and further below give it a network, like
                192.168.4.1
                and change /32 to /24
                Don't set/touch the gateway !
                Then Save and Apply.

                Next : goto the Services > DHCP Server > LAN page and select your newly created "LAN4" instance.
                Set up a DHCP pool, like 192.168.4.10 to 192.168.4.100
                Save and Apply.

                Last : add a firewall rule on this new LAN4 interface. By default, there will be no rules what so ever, so it will block (nearly) all traffic.
                Add generic pass rule :
                0698cb47-005e-42a5-b14d-a98fc37cf67b-image.png
                Where you change "LAN subnets" for "LAN4 subnets".
                Save and Apply.

                Get a device, hook it up to your port LAN4, and enjoy.

                See also : Interface Configuration

                @buggz said in access GUI from unused port?:

                Though, noticed a WHOLE bunch of outside IPs trying to connect, gah!

                Goto Status > System Logs > Settings and remove the checks from :

                9731c2c2-c9ad-44f5-96ca-951059980094-image.png

                Save.

                This is like removing the power of your front door doorbell.
                Right now, a couple of zillion are in front of your door, and there always be some one that wants to press the ring button. just get used to it that these guys always exist, just shut down the door bell. Don't worry, you can control who enters with NAT rules (if needed).

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

                buggzB 1 Reply Last reply Reply Quote 1
                • buggzB
                  buggz @Gertjan
                  last edited by

                  @Gertjan

                  Thank you for this!

                  I did perform this almost exactly by poking around.
                  I guess I was afraid of all the denied flood of external IPs.
                  I do remember that I did say to log.

                  I will look into this more.

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

                    @buggz said in access GUI from unused port?:

                    I guess I was afraid of all the denied flood

                    I know.
                    You have to learn not to look over the wall.

                    Youtube Video

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

                    JeGrJ 1 Reply Last reply Reply Quote 0
                    • JeGrJ
                      JeGr LAYER 8 Moderator @Gertjan
                      last edited by

                      @Gertjan said in access GUI from unused port?:

                      I guess I was afraid of all the denied flood

                      I know.
                      You have to learn not to look over the wall.

                      If that unused Port is a Port used internally for you to connect to, there simply shouldn't be other traffic that is logged, otherwise something is very fishy.

                      I don't understand why there shoould be external traffic on an unused port (until now) when you set up a private IP space on it. That sounds like you push public traffic there via your switch or something, and that's definetly wrong and nothing to be ignored!

                      Don't forget to upvote 👍 those who kindly offered their time and brainpower to help you!

                      If you're interested, I'm available to discuss details of German-speaking paid support (for companies) if needed.

                      buggzB 1 Reply Last reply Reply Quote 0
                      • buggzB
                        buggz @JeGr
                        last edited by buggz

                        I haven't used the link since the test.
                        I found my client VPN did not allow access to the the network devices GUIs.
                        If I have the VPN OFF, I can access all network devices from the clients.

                         - ISP router -  2.5GB LAN
                             |
                        2.5GB WAN
                         - pfsense -
                        2.5GB LAN - 192.168.2.2
                             |
                        2.5GB WAN - 192.168.2.4
                         - OpenWRT -
                        2.5GB LAN1 - 192.168.4.1
                             |
                         - 2.5GB switch -
                             |
                         - 2.5GB clients - 
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post
                        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.