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

    Can't reach internal web server

    Scheduled Pinned Locked Moved NAT
    nat
    16 Posts 6 Posters 1.7k 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.
    • F
      fendy
      last edited by

      Hi everybody,

      I'm a real beginner using pfsense, and any help is much appreciated. In my home network, i have a web-server, which runs a small website. believe i have successfully created a NAT rule to forward any traffic asking on port 80 to my web-server. Unfortunately i can't reach it.

      Can you guys check what i did wrong? I added some info of my rules.

      Firewall:
      NAT rule that forwards ports 80 to the local hosted web server.
      If: WAN, Proto, TCP, Src. addr: *, Src. ports: *, Dest. addr: WAN address, Dest. ports: Web Ports, NAT IP: Web Server, NAT Ports: Web Ports

      Firewall rule that passes ports 80 to the local hosted web server.
      Proto, IPv4 TCP, Source: *, Port: *, Destination: Web Server, Port: Web Ports, Gateway: *, Queue: none

      WAN type : Dynamic IP Address
      DynDNS : no-ip

      when i try to access my web server using xxxx.ddns.net , i will be redirect to pfsense web gui login instead going to my web server.

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Just taking a guess
        I believe there is the anti lock out rule for port 80 that might be causing request to go to login screen...
        Is the web server on your home network and servers to the public as well? or is it remote?
        How do you have your network set up? Never ran anything like this in the past to be honest but sounds as something I may be able to assist on pinpointing the issue.

        F 1 Reply Last reply Reply Quote 0
        • F
          fendy @A Former User
          last edited by

          @crisdavid

          1.) yes, i have anti lock out rule (port 80) on LAN interface
          2.) the web server is on my home network.
          3.) I have a simple home setup, where pfsense is my gateway. I can reach my web server from local network but when i try to access it using ddns address that i create, it will not reach the web server

          0_1534141554203_88.jpg

          System - Firewall / NAT:
          Network Address Translation
          NAT Reflection mode for port forwards: Enable (Pure NAT)
          Reflection Timeout: (not specified)
          Enable NAT Reflection for 1:1 NAT: Disabled (box NOT checked)
          Enable automatic outbound NAT for Reflection: Enabled (box checked)
          TFTP Proxy: (not specified)

          other info :

          if i use this rule, nothing happen when i try to access xxxx.ddns.net either from lokal or extrenal network

          Firewall:
          NAT rule that forwards ports 80 to the local hosted web server.
          If: WAN, Proto, TCP, Src. addr: *, Src. ports: *, Dest. addr: WAN address, Dest. ports: Web Ports, NAT IP: Web Server, NAT Ports: Web Ports

          but if i change th dest add,, i can access my web server from local network but when i try to access it from outside, it will redirect me to pfsense web gui

          Firewall:
          NAT rule that forwards ports 80 to the local hosted web server.
          If: WAN, Proto, TCP, Src. addr: *, Src. ports: *, Dest. addr:xxxx.ddns.net, Dest. ports: Web Ports, NAT IP: Web Server, NAT Ports: Web Ports

          btw, sorry for my broken english..

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

            You have to set the webconfigurator to listen to other ports than you've forwarded to internal web servers.
            Go to System > Advanced > Admin Access

            Set a TCP port other than 80 or 443 and also check "Disable webConfigurator redirect rule".

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

              Probably testing from the inside using NAT reflection and hitting the redirect rule. Do all of that ^.

              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)

              F 1 Reply Last reply Reply Quote 0
              • F
                fendy @viragomann
                last edited by

                @viragomann i already set the webconfigurator to listen to other ports but i still cannot access from outside

                1 Reply Last reply Reply Quote 0
                • F
                  fendy @Derelict
                  last edited by

                  @derelict how do i do that?

                  this is my NAT config right now :

                  System - Firewall / NAT:
                  Network Address Translation
                  NAT Reflection mode for port forwards: Enable (Pure NAT)
                  Reflection Timeout: (not specified)
                  Enable NAT Reflection for 1:1 NAT: Disabled (box NOT checked)
                  Enable automatic outbound NAT for Reflection: Enabled (box checked)
                  TFTP Proxy: (not specified)

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

                    Post a screen shot of your port forward. All of it please.

                    https://www.netgate.com/docs/pfsense/nat/forwarding-ports-with-pfsense.html

                    https://www.netgate.com/docs/pfsense/nat/port-forward-troubleshooting.html

                    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)

                    F 1 Reply Last reply Reply Quote 0
                    • F
                      fendy @Derelict
                      last edited by

                      @derelict 0_1534213714507_port forward.jpg

                      WAN type : Dynamic IP Address

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fendy @fendy
                        last edited by

                        when im using local network, everything fine. i can access all my server.. but when i try to access from outside.. i got nothing. Then if i try to replace dest. address to xxxx.ddns.net , i will redirect to pfsense web gui instead..

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

                          @fendy : I remember that GUI style vaguely. .... you do upgrade your pfSense ones in a while, right ?
                          (If not, we have to deal with all the errors and bugs from all these old versions, and help becomes pretty impossible)

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

                          F 1 Reply Last reply Reply Quote 0
                          • F
                            fendy @Gertjan
                            last edited by

                            @gertjan i'm still using the old ver. 2.1-RELEASE

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

                              @fendy said in Can't reach internal web server:

                              I'm a real beginner using pfsense, and any help is much appreciated.

                              Let me give you a big advise : ditch 2.1 right away.
                              Use a current version. Live will be easier.

                              When you start using a PC today, will you be looking for Windows 95 also ? ;)

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

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

                                Upgrade then come back.

                                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
                                • GertjanG
                                  Gertjan
                                  last edited by

                                  Consider doing a new install ;)
                                  This way you know what its is to install something different as "install windows from CD".
                                  The next time you need to re install pfSense for any reason, you'll be in a hurry (because your network is down at that moment) and you know what to do.

                                  Btw : just for the record : why did you install 2.1 ? Where did it came from ? Didn't you find https://www.pfsense.org/download/ ?

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

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

                                    Also where did you come up with this 200.10.1 ?? That is not rfc1918 space.. Its owned by

                                    inetnum: 200.10.0/22
                                    owner: Administradora BANCHILE de Fondos Mutuos
                                    Country: CL

                                    You do not just pull space out of thin air and try and use it, even if behind a nat.

                                    Your HOME Network should be using rfc1918 space..

                                    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.7.2, 24.11

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