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

    Why is my GUI suddenly (only) available at port 4443??????????

    Scheduled Pinned Locked Moved webGUI
    11 Posts 4 Posters 2.5k 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.
    • M
      mer @sensewolf
      last edited by mer

      @sensewolf not sure but if you go to diagnostics, command prompt whats the output of
      netstat -aln4 ? Basically all the IPV4 listening sockets. If you are also using IPV6, repeat the command but do -aln6.

      Just forgot to add:
      On my system I have just https selected for protocol and nothing for the tcp port field.

      Question:
      From the WAN side or from the LAN side? By default I think the GUI is not available from WAN based on the default deny rules. 4443 almost sounds like a proxy setting somewhere, especially if you are talking about WAN to the GUI.

      S 1 Reply Last reply Reply Quote 0
      • S
        sensewolf @mer
        last edited by

        @mer

        My GUI is (in any case should) not be accessible from the WAN. So I am talking the LAN side of things.

        netstat shows several lines, among them two that reference port 4443 (which is me accessing the GUI internally)

        tcp4       0      0 192.168.1.1.4443       192.168.18.7.1428       ESTABLISHED
        tcp4       0      0 192.168.1.1.4443       192.168.18.7.47923      TIME_WAIT
        
        M 1 Reply Last reply Reply Quote 0
        • M
          mer @sensewolf
          last edited by

          @sensewolf Only the two? For me netstat -aln4 shows the established sessions (which is what you have) plus "Local Address" of "*.443". Can you do the netstat -aln4 | grep tcp so we can see all the listening sockets? I'm just looking to see where anything may be listening.

          S 1 Reply Last reply Reply Quote 0
          • S
            sensewolf @mer
            last edited by

            @mer

            There may have been one more line at the end that I overlooked the last time.

            Here we go:

            tcp4       0      0 177.7.186.150.443        84.169.199.118.26059   TIME_WAIT
            tcp4       0      0 177.7.186.150.443        192.168.18.7.8831       TIME_WAIT
            tcp4       0      0 177.7.186.150.443        84.169.199.118.32163   TIME_WAIT
            tcp4       0      0 177.7.186.150.443        192.168.18.7.47636      TIME_WAIT
            tcp4       0   4557 177.7.186.150.443        54.200.141.88.57534    LAST_ACK
            tcp4       0     24 177.7.186.150.443        54.190.180.8.24084     FIN_WAIT_1
            tcp4       0    391 177.7.186.150.443        54.190.180.8.9703      FIN_WAIT_1
            tcp4       0     24 177.7.186.150.443        34.221.242.183.60368   LAST_ACK
            tcp4       0     24 177.7.186.150.443        54.214.183.143.53037   FIN_WAIT_1
            tcp4       0    391 177.7.186.150.443        54.214.183.143.40513   FIN_WAIT_1
            tcp4       0  31112 177.7.186.150.443        54.191.164.222.48479   FIN_WAIT_1
            tcp4       0     24 177.7.186.150.443        54.191.164.222.46300   FIN_WAIT_1
            tcp4       0      0 192.168.55.1.62456     192.168.55.138.3443    ESTABLISHED
            tcp4       0      0 177.7.186.150.3443       192.168.18.7.10677      ESTABLISHED
            tcp4       0      0 192.168.55.1.18289     192.168.55.138.3443    ESTABLISHED
            tcp4       0      0 177.7.186.150.3443       192.168.18.7.9152       ESTABLISHED
            tcp4       0      0 177.7.186.150.443        84.169.199.118.8861    ESTABLISHED
            tcp4       0      0 192.168.5.1.4443       192.168.18.7.40730      ESTABLISHED
            tcp4       0      0 192.168.55.1.39097     192.168.55.61.443      ESTABLISHED
            tcp4       0      0 177.7.186.150.443        192.168.18.7.18059      ESTABLISHED
            tcp4       0      0 177.7.186.150.443        192.168.18.7.16657      ESTABLISHED
            tcp4       0      0 192.168.55.1.47939     192.168.55.138.3443    ESTABLISHED
            tcp4       0      0 177.7.186.150.3443       192.168.18.7.55354      ESTABLISHED
            tcp4       0      0 192.168.55.1.17332     192.168.55.138.3443    ESTABLISHED
            tcp4       0      0 177.7.186.150.3443       192.168.18.7.22215      ESTABLISHED
            tcp4       0      0 177.7.186.150.3443       *.*                    LISTEN
            tcp4       0      0 88.46.4.82.443       *.*                    LISTEN
            tcp4       0      0 177.7.186.150.443        *.*                    LISTEN
            tcp4       0      0 177.7.186.150.8448       *.*                    LISTEN
            tcp4       0      0 88.46.4.82.80        *.*                    LISTEN
            tcp4       0      0 177.7.186.150.80         *.*                    LISTEN
            tcp4       0      0 127.0.0.1.2200         *.*                    LISTEN
            tcp4       0      0 *.666                  *.*                    LISTEN
            tcp4       0      0 *.2222                 *.*                    LISTEN
            tcp4       0      0 127.0.0.1.953          *.*                    LISTEN
            tcp4       0      0 *.53                   *.*                    LISTEN
            tcp4       0      0 *.80                   *.*                    LISTEN
            tcp4       0      0 *.4443                 *.*                    LISTEN
            
            M 1 Reply Last reply Reply Quote 0
            • M
              mer @sensewolf
              last edited by

              @sensewolf so something is actually listening on port 4443 (generically all interfaces) but ip specific listening on poirt 443 (88.46.4.82 and 177.7.186.150), then there are connections from 443 to other addresses (I don't know which are internal or external addresses, except for the 127. and the 1923.168.)
              You also have specific ips listening on port 809 (88.46.4.82 and 177.7.186.150)
              It almost looks like a proxy or something. So double check the addresses assigned to your LAN and WAN side, any VPN interfaces.
              I've got nothing more to look at or add.

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

                @sensewolf said in Why is my GUI suddenly (only) available at port 4443??????????:

                Suddenly, my GUI is only available at port 4443 (not: 443). Why?

                Just to be sure :

                cat /var/etc/nginx-webConfigurator.conf
                
                ....
                        server {
                                listen 443 ssl http2;
                                listen [::]:443 ssl http2;
                ....
                

                If 443 is not 443, then this has been set to something not being '443' :

                1cf95b4c-0a77-45b7-bba3-4d4df8dd4561-image.png

                Same info in the config.xml :

                ....
                                <webgui>
                                        <protocol>https</protocol>
                ......
                                        <port></port>
                ........
                                </webgui>
                .....
                

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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sensewolf @Gertjan
                  last edited by

                  @Gertjan

                  This is (part of) the output of 'cat /var/etc/nginx-webConfiguator.conf':

                  Bildschirmfoto 2023-08-01 um 13.39.23.png image url)

                  This is the TCP port setting:
                  Bildschirmfoto 2023-08-01 um 13.40.11.png

                  And this is how I am accessing pfSense:
                  Bildschirmfoto 2023-08-01 um 13.44.32.png

                  because the GUI is not available at port 443...

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

                    @sensewolf
                    So obviously there is a service listening on port 443 already.

                    To find out which, go to the console and run

                    sockstat | grep .443
                    
                    GertjanG 1 Reply Last reply Reply Quote 0
                    • GertjanG
                      Gertjan @viragomann
                      last edited by

                      @viragomann said in Why is my GUI suddenly (only) available at port 4443??????????:

                      So obviously there is a service listening on port 443 already.

                      As the nginx config says : it's nginx, the pfSense GUI.

                      The fact that pointing a 192.168.55.1 at port 4443 shows the pfSense GUI means that there is a 'firewall' that is doing something.
                      Like redirecting incoming TCP traffic on port 4333 to TCP 443.

                      sockstat | grep .443

                      I bet :

                      [23.05.1-RELEASE][root@pfSense.bhf.net]/root: sockstat | grep .443
                      root     lighttpd_p 53813 4   tcp4   10.10.10.1:443        *:*
                      root     lighttpd_p 53813 6   tcp6   ::10.10.10.1:443      *:*
                      root     nginx       8179 5   tcp4   *:443                 *:*
                      root     nginx       8179 6   tcp6   *:443                 *:*
                      root     nginx       8164 5   tcp4   *:443                 *:*
                      root     nginx       8164 6   tcp6   *:443                 *:*
                      root     nginx       8042 5   tcp4   *:443                 *:*
                      root     nginx       8042 6   tcp6   *:443                 *:*
                      

                      The first two are listening on 10.10.10.1, it's the "useless" pfBlockerng "yu are using a blocked domaine name" serveice.
                      The other 6 is our nginx, serving pfSense GUI.

                      Example : one NAT rule (without the related firewall rule as not needed) :

                      ef30988b-19b0-4b2f-b3ca-05c486a8ae7a-image.png

                      I'm now accessing the GUI (also) on port 4443.

                      There are many ways to skin a cat ;)

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

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

                        @Gertjan said in Why is my GUI suddenly (only) available at port 4443??????????:

                        The fact that pointing a 192.168.55.1 at port 4443 shows the pfSense GUI means that there is a 'firewall' that is doing something.
                        Like redirecting incoming TCP traffic on port 4333 to TCP 443.

                        Yeah, seems plausible.

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