cPanel behind 1:1 NAT and multiple public IPs
Currently I have set 1:1 NAT to translate 1 public IP to 1 private IP. To get another public IP assigned to that cPanel (one client requested to get a static IP for them) it looks that I need to set another 1:1 NAT with their public IP and different private IP and add that IP as secondary to that box.
Are there some options in the WHM to get this done or do I need to do that configuration via console/root access?
-
You can use the /var/cpanel/cpnat file to map the public ips with their corresponding private ips 0 -
Thanks for the tip. I have found it useful as well that page cpanelkb.net/enable-nat-behind-the-cpanel/ 0 -
Getting problems with correct log format but I think it is related to mod_remoteip 0 -
Hello, I'm happy to see you were able to address the issue with 1:1 NAT. Please ensure you open a separate thread if you are unable to address the log format issue. Thank you. 0
Please sign in to leave a comment.
Comments
4 comments