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

    DNS forward: including ports

    Scheduled Pinned Locked Moved pfSense Packages
    3 Posts 3 Posters 935 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.
    • B
      border
      last edited by

      Hi,

      I am running an email server behind pfSense. The email server has webmail (say webmail.mydomain.net) and pop/imap.
      Accessing the email server from external works all fine but there is a problem from within the LAN.

      An email client on a laptop is set to access the server from the outside but cannot access from the inside. So I used DNS forward to forward an internal request for webmail.mydomain.net to the LAN address of the email server. This works fine for port 80 but not for others like 110. Of course I can access the other ports using the LAN address but that would require reconfiguring the email client every time.

      Is there a way to also forward other ports?

      1 Reply Last reply Reply Quote 0
      • D
        doktornotor Banned
        last edited by

        Not really sure what are you trying to do there with "DNS forward". In fact not really sure what you mean. Normally you point your clients to your local LAN DNS servers via DHCP so that the FQDN resolves to internal IPs when needed. If the same DNS server is used for both WAN and LAN, it needs to be one that can implement "views" - such as bind.

        1 Reply Last reply Reply Quote 0
        • GruensFroeschliG
          GruensFroeschli
          last edited by

          Method 2:
          https://doc.pfsense.org/index.php/Why_can%27t_I_access_forwarded_ports_on_my_WAN_IP_from_my_LAN/OPTx_networks?

          We do what we must, because we can.

          Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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