The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    1
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page