Skip to main content

NAT not Working

Comments

5 comments

  • dstana
    To add to this, WHM is seeing the NAT on some level. After running /scripts/build_cpnat
    /var/cpanel/cpnat does exist and has the private and public ip's in that file. However, trying publicIP:2087 returns unreachable. I'm not sure what else goes into configuring the NAT but something is missing if the build script is throwing that error.
    0
  • cPanelLauren
    Hi @dstana It sounds like a configuration/routing issue but it's more of an issue that you need to discuss with Amazon, either the IP was added incorrectly or it's not routed properly would be my assumption here. You might look over the blog post we have here How to Build a cPanel Hosting Environment on Amazon AWS | cPanel Blog it might provide some insight/help Thanks!
    0
  • dstana
    I guess the documentation is wrong here: 1:1 NAT - Version 68 Documentation - cPanel Documentation Running the build_cpnat script didn't work. This was resolved by skipping step 1 in the docs.
    0
  • cPanelLauren
    Hi @dstana By referencing Step 1 are you referencing this? Open the /etc/cpsources.conf file with a text editor and add the following line: MYIP=http://myip.cpanel.net/v1.0/
    If so this portion of the documentation is option as indicated by the line above: [QUOTE]The /usr/local/cpanel/scripts/build_cpnat script uses the
    0
  • dstana
    That's right. cPanel support commented that line out and it worked.
    0

Please sign in to leave a comment.