Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

NAT Mode confirmation

Discussion in 'Bind/DNS/Nameserver' started by regl, Oct 29, 2014.

  1. regl

    regl Registered

    Joined:
    Aug 21, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    I just setup a new instance of WHM on an EC2 setup. I normally only use publicly available cloud or dedicated servers, so the NAT Mode is new to me.

    With the machine in NAT Mode, it properly recognizes the public ip and maps with the private ip. When I move a site over from another WHM server, the DNS properly uses the public IP, however the Apache config incorrectly uses the public IP and not the private IP. Is this the expected behavior? It would seem to me that the reason there is a NAT Mode is so that it knows how to configure it's services. Honestly, what else is the point of having the NAT Mode?

    Hoping for some clarification.

    Thanks
    Reggie
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,897
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    The NAT functionality included with cPanel was designed for fresh installations of cPanel where migrations would not occur. You can submit a feature request that adds support for transfers via:

    Submit A Feature Request

    The current method most commonly used to modify the IP address of the account to an internal IP address is to use the IP Migration Wizard:

    "WHM Home » IP Functions » IP Migration Wizard"

    Then, edit the DNS Zones so the external IP address is used (either through WHM or the command line).

    Note that 1:1 NAT is documented here:

    1:1 NAT

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice