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

    NAT port forward webmail

    Scheduled Pinned Locked Moved NAT
    4 Posts 3 Posters 566 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.
    • L
      lonmarlon
      last edited by lonmarlon

      I can access the webmail through it's public ip but not by domain name.
      My webmail is in my LAN NAT port forward through virtual IP of pfsense of WAN

      pinging my webmail domain name gets the correct response which is the public ip.

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

        @lonmarlon
        Add an host override to your internal DNS server and point it to the local IP of the webmail host.

        L 1 Reply Last reply Reply Quote 0
        • L
          lonmarlon @viragomann
          last edited by

          @viragomann thanks for your reply, yes but my concern is from outside not in the LAN. i can access the public ip but not the domain name

          S 1 Reply Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @lonmarlon
            last edited by

            @lonmarlon Set the hostname to resolve to that public IP...? Or if it is already set, then likely the webmail server isn't set to use that hostname. Unless you've installed a reverse proxy, there's nothing in pfSense that knows what hostname was used. The packet arrives for IP "n" and pfSense processes it.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

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