Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Accessing hosted services from internal and from external

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 626 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.
    • G
      geminux
      last edited by

      Hello everyone,

      I have a small setup to host websites, mail, etc…

      pfsense (2.3.4) with one WAN (static public ip) and one LAN
      port forwarding (80+443) from wan to lan (pound server)
      pound server which dispatch request to the right backend
      a dns server on internet is resolving the hosted domains with the static wan address.

      => this is a pretty standard setup and everything is working well when someone tries to connect from external (internet)

      Here is a diagram with an example for web connections : -> attachment: from_external.png

      But when I want to access the same service from internal (lan), it no longer works. I guess that since connection come through LAN interface, it does not go through the port forwarding...

      Here is a diagram of what does not work : -> attachment: from_internal.png

      Does anyone know what I should do to make it work ?
      Thanks !
      from_external.png
      from_external.png_thumb
      from_internal.png
      from_internal.png_thumb

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

        @geminux:

        But when I want to access the same service from internal (lan), it no longer works. I guess that since connection come through LAN interface, it does not go through the port forwarding…

        That's the point.

        Use an internal DNS and set up a host override.
        You may use DNS Resolver or DNS forwarder installed on pfSense found in Services menu.

        You may also activate NAT reflection + proxy in the NAT rule to resolve this.

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy