HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   External IP and internal IP (http://www.howtoforge.com/forums/showthread.php?t=57355)

qb7 21st May 2012 10:30

External IP and internal IP
 
I have a problem wich config SSL sites in my ispconfig 3' environment.
CentOS 5.6, Ispconfig 3.0.4.5 (the last).

I assigned internal IPs in /etc/sysconfig/network-scripts how to manual, 192.168.0.xxx (LAN IPs) in eth0:1, eth0:2, etc and when assigned external IP (WAN IP) 80.28.xxx.xxx, in eth0:10, eth0:11 for SSL, don't work the internet access and the server is down.

How I have to set the internet IPs in eth0:x for SSL web sites?

I set external IP in eth0:XX because Falko wrote in a post wich IPs for SSL must be in the comand ifconfig.

till 21st May 2012 10:46

You mix up internal and external IP's here. On your server you configure only the internal IP addresses and not the external ones and then choose the internal IP address in the website setings of the SSL site.

qb7 21st May 2012 11:13

Quote:

Originally Posted by till (Post 279408)
You mix up internal and external IP's here. On your server you configure only the internal IP addresses and not the external ones and then choose the internal IP address in the website setings of the SSL site.

But when I made the SSL certificate in the control panel, them I have to select the internet IP (external IP)?

till 21st May 2012 11:34

Yes, you have to select the internal IP. In a NAT enviroment, the internal IP is used for apache as the translation between internal and external Ip is done on the router.


All times are GMT +2. The time now is 00:29.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.