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

    NAT rule is showing private address when connecting

    Scheduled Pinned Locked Moved NAT
    4 Posts 2 Posters 376 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.
    • M
      multihosts
      last edited by

      I have a NAT for SMTP port 25 that works with no problem from external IP addresses but not from other WAN IP aliases. So I had to create a 1:1 rule for all IP aliases with NAT reflection enabled and now the NAT rule works with the the IP aliases. There is one problem: the destination host is showing the private IP of the source and not the public IP. What do I need to do to fix it?

      Thanks in advance

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

        @multihosts said in NAT rule is showing private address when connecting:

        I have a NAT for SMTP port 25 that works with no problem from external IP addresses but not from other WAN IP aliases.

        Are you talking about inbound or outbound traffic?
        If inbound, what do you mean with "from other WAN IP aliases"? For my understanding, a WAN IP cannot be the source then.

        1 Reply Last reply Reply Quote 0
        • M
          multihosts
          last edited by

          The source IP and destination IP are both Wan alias IPs.

          1 Reply Last reply Reply Quote 0
          • M
            multihosts
            last edited by

            I believed I explained the issue incorrectly. Here is the correction:

            I have a NAT for SMTP port 25 that works with no problem from external IP addresses (public IP) to a Virtual IP. But not from other WAN Virtual IPs. So I had to create a 1:1 rule for all IP aliases with NAT reflection enabled and now the NAT rule works connecting from other Virtual IPs. There is one problem: the destination host is showing the private IP of the source and not the public IP.

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