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

    Port Forward seems not working. Displays Pfsense login screen

    Scheduled Pinned Locked Moved NAT
    9 Posts 4 Posters 2.4k 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.
    • R
      rhonz10
      last edited by

      Hi!

      I am trying to port forward http port to my webserver but I can't make it work. When i try to access my WAN IP from external network, it displays the pfsense login screen.

      I followed these:

      • https://doc.pfsense.org/index.php/How_can_I_forward_ports_with_pfSense%3F

      • Creating a NAT port forward rule from pfsense 2 cookbook

      • https://forum.pfsense.org/index.php?topic=37899.0

      but no avail.

      Always shows me the login screen. I did a port check, it returned that port 80 is open

      What did I miss or failed to do?
      port_forward.png
      port_forward.png_thumb
      Firewall_Rule.png
      Firewall_Rule.png_thumb

      1 Reply Last reply Reply Quote 0
      • W
        Wolf666
        last edited by

        Try to clear states.

        Modem Draytek Vigor 130
        pfSense 2.4 Supermicro A1SRi-2558 - 8GB ECC RAM - Intel S3500 SSD 80GB - M350 Case
        Switch Cisco SG350-10
        AP Netgear R7000 (Stock FW)
        HTPC Intel NUC5i3RYH
        NAS Synology DS1515+
        NAS Synology DS213+

        1 Reply Last reply Reply Quote 0
        • R
          rhonz10
          last edited by

          Already did a reset states, even reboot my pfsense

          1 Reply Last reply Reply Quote 0
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Well yeah port 80 would show open, its your pfsense web gui ;)  If your getting that from the outside.

            It should not be possible for you to hit your pfsense web gui from the public external side..  You don't show any rules on wan to allow such access - do you have rules in your floating tab that would allow that access?

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 0
            • DerelictD
              Derelict LAYER 8 Netgate
              last edited by

              In system advanced Admin check the Disable webConfigurator redirect rule.  I think that might take precedence over your port forward.

              The forward rule is allowing ingress on 80, I believe.

              You might also want to change the HTTPS configurator to a non-standard port.  I routinely use 8443.

              Chattanooga, Tennessee, USA
              A comprehensive network diagram is worth 10,000 words and 15 conference calls.
              DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
              Do Not Chat For Help! NO_WAN_EGRESS(TM)

              1 Reply Last reply Reply Quote 0
              • R
                rhonz10
                last edited by

                @johnpoz

                I don't have any floating rules. In fact, I have reset to default my pfsense to make sure that I have to start from scratch configuring it.

                @Derelict

                i followed your instructions,  Disabled webConfigurator redirect rule, set protocol to https, on port 8443

                Still the same.  :(

                Tried to access my WAN IP from my phone, It displayed the page form my webserver BUT only if Chrome-Compression-Proxy is enabled. Also tried it from an external network, with  Chrome-Compression-Proxy plugin on Chrome, the intended page is displayed.

                Disabled the plugin, same result as above.. This is driving me crazy..

                floating.png
                floating.png_thumb

                1 Reply Last reply Reply Quote 0
                • DerelictD
                  Derelict LAYER 8 Netgate
                  last edited by

                  That's simply very unlikely.  Something is not how you think it is.  What's the WAN IP (pm if desired)?

                  I have no idea what Chrome-Compression-Proxy is.  Are you sure you're not looking at a cached page in whatever you're doing on the browser side?

                  Chattanooga, Tennessee, USA
                  A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                  DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                  Do Not Chat For Help! NO_WAN_EGRESS(TM)

                  1 Reply Last reply Reply Quote 0
                  • R
                    rhonz10
                    last edited by

                    This is also my first time to come across with this Chrome-Compression-Proxy, https://developer.chrome.com/multidevice/data-compression. This is only available on mobile Chrome.

                    Anyway, back to topic:

                    The WAN IP on my pfsense is on 110.55.xxx.xx, port forwarded to 192.168.1.204 and i'm testing from 103.225.xxx.xxx.

                    My purpose of this is to have vicidial accessible from our other office, starting from its web interface. I also didn't have much luck on port forwarding SIP and RTP (used by asterisk).

                    If at least port forwarding work for http, I can also port forward other web application hosted in my other web server, which is also behind NAT. I'll find another way for vicidial.

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      are you using chrome mobile to check it - unless you turn if off it uses a proxy.  You would want to turn that off..

                      As to pfsense listening on 80 and doing a port forward to something behind it listening on 80 - this is not an issue.  I just tested this and click click I was able to access server behind pfsense on 80 without issue.

                      Was your phone on wifi or just cell access?  With wifi it most likely used that over cell data and now your doing a loopback because your coming from pfsense lan side.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

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