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

    Allow access to internal webserver using it's domain name from LAN

    Scheduled Pinned Locked Moved Firewalling
    5 Posts 4 Posters 1.3k 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.
    • E
      endee
      last edited by

      I have a webserver running on a machine on LAN1.
      Port forward/firewall rules allow https access to port 443 on this server from WAN.

      Can't access the server using its https://domainname from LAN, how can I allow this?
      Hopefully that question makes some sense!

      Basically what I have is a Hotel web reservation/some internal guest info sort of site at https://thehotelxxx.com on LAN server. I need to allow access to https://thehotelxxx.com from the hotels' LAN

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

        Are you using pfSense for DNS?  Put in a host override to the local IP address.

        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
        • E
          endee
          last edited by

          Works perfect, thanks

          1 Reply Last reply Reply Quote 0
          • N
            neggard
            last edited by

            Can you tell me how you did this?

            1 Reply Last reply Reply Quote 0
            • pttP
              ptt Rebel Alliance
              last edited by

              @neggard:

              Can you tell me how you did this?

              Look at / Read –> Method 2: Split DNS: https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks

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