Article ID: 3131, created on Nov 30, 2007, last review on May 9, 2014

  • Applies to:
  • SiteStudio

Symptoms

If NAT is configured incorrectly, it is impossible to access web server from the CP server via external IP.

Resolution

 Possible solution for Linux.

Add the following rule to the iptable:

iptables -t nat -A OUTPUT -p tcp -d <web_server_external_IP> -j DNAT --to <web_server_internal_IP>

Also, add this rule to /etc/rc.local so it keeps working after server reboot.

87ad276eb1af5ea9d1c20eee598cc0be 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF