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

    Accessing Website with IP

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 2 Posters 2.0k 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.
    • W
      wheemer
      last edited by

      Hello;

      I have pfsense in place and I have one webserver behind it.

      I can view all the websites I've got without problems via the domain name.

      I have a host header setup on one site that is just the IP.

      I cannot view this site by entering just the IP in IE.

      If I take pfsense out of the loop the site loads immediately.

      What could be the issue?

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        What did you configured on pfsense to reach this server?

        Just rules?
        Nat?
        Reverse proxy  server?

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

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

          I am using 1:1 nat and it created the rule.

          The websites all load fine when using the domain name. So everything is forwarded ok I would think.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            I have a host header setup on one site that is just the IP.

            let me guess…

            you have a host header to ie ip, but not for public ip you have published the service, this way when iis receive a request it does not match with current assigned ip and host header.

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

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

              The domains are all pointing to the same ip and they work fine.

              If I bypass pfsense and plug directly into the server the website will load with just the IP in the address bar.

              Something within pfsense is blocking my site from loading using just the IP.

              It has nothing to do with the configuration of the server since it works perfectly fine without pfsense.

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                Just in case, change pfsense protocol to https and change listen port to 8443 for example.

                Also check if there is no other nat rule to the same wan port.

                check IIS logs to see error details

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

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

                  Hello;

                  I had my host header set to the external IP address.

                  Once I setup a host header for my internal lan address, the site loaded fine.

                  So thanks for the help its all working now.

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