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!

Force new nat mode after installation

Discussion in 'General Discussion' started by ehabheikal, Feb 16, 2014.

  1. ehabheikal

    ehabheikal Registered

    Joined:
    Feb 16, 2014
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I am in a strange stituation where my main ips are real and the rest of the ips are NAT ips. Is there a way to force NAT mode after installation?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Per our documentation:

    The build_cpnat script uses myip.cpanel.net/v1.0/ to map local IP addresses to public IP addresses. However, if you wish to use a different IP address lookup service, open the /etc/cpsources.conf file with your preferred editor and add the following line:

    Code:
    MYIP=http://whatismyip.tv/ip_only
    For more information about the build_cpnat script, enter the following via the command line:

    Code:
    /scripts/build_cpnat --man
    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