When running Configuration Check (Virtualmin > System Settings > Re-Check Configuration) I received the following notice:
Default IP address is set to x.x.x.247, but the detected external addresss is actually x.x.x.242. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.
(Please note: I have masked the IP addresses in the message above, but the actual message I received did have full IP addresses)
The Default IP (x.x.x.247) listed in the actual message is the correct IP address that I am using as the default for virtual servers. However, I do not know where the External Address (x.x.x.242) is being detected from, nor how to change it. It is worth noting that the main IP address of the server (x.x.x.240) is not the same as the default virtual server IP, and the secure server which Virtualmin runs on (x.x.x.241) is also different.
How can I resolve this warning, and does it indicate a problem in a configuration file somewhere?
Thanks, Ian
P.S. If you look carefully, you'll also note that there is a spelling error ("addresss") in this message when displayed by Virtualmin ;-)
Comments
Submitted by andreychek on Tue, 10/19/2010 - 12:32 Comment #1
Howdy -- you may want to take a peek at System Settings -> Virtualmin Configuration -> Network Settings. On that page, it defines the default network interface, IP address, and such. You can verify there that the default settings it's using are accurate for your server.
Submitted by JamieCameron on Tue, 10/19/2010 - 14:07 Comment #2
The "external address" is the IP we detect outgoing connections from your system coming from, based on a test HTTP request to virtualmin.com . If you are using some kind of NAT gateway or proxy, this might differ from your system's eth0 address .. in which case, that warning can be ignored.
This warning was added to help less experienced users who were running Virtualmin behind a NAT gateway, and were wondering why their domains didn't work when they got 10.* addresses in DNS!
Submitted by e150bucket on Fri, 05/20/2011 - 10:20 Comment #3
Due to a RAID failure, we've had to rebuild our web server. It worked fine behind our NAT router before and No changes have been made to the router. The only difference is the new installation of CentOS 5.6 & Virtualmin & Apache is configured to host SSL websites. We're hosting five web sites. Behind five tried the internal and external IP address for the default ip for virtual servers. I cannot figure out what I'm overlooking. Here is the output of the recheck configuration:
The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active ..
BIND DNS server is installed, and the system is configured to use it. Mail server Postfix is installed and configured.
Apache is installed.
Webalizer is installed.
Apache is configured to host SSL websites.
MySQL is installed and running.
ProFTPd is installed.
Logrotate is installed.
SpamAssassin and Procmail are installed and configured for use.
ClamAV is installed and assumed to be running.
Plugin DAV Login is installed OK.
Plugin AWstats reporting is installed OK.
Plugin Mailman is installed OK.
Plugin Protected web directories is installed OK.
Using network interface eth0 for virtual IPs.
IPv6 addresses are available, using interface eth0.
Default IP address for virtual servers is xx.xx.44.41.
Both user and group quotas are enabled for home and email directories.
All commands needed to create and restore backups are installed.
The selected package management and update systems are installed OK.
.. your system is ready for use by Virtualmin.
Any help is appreciated !!!!!!!
Submitted by andreychek on Fri, 05/20/2011 - 10:28 Comment #4
Howdy -- that sounds a bit like your request here:
https://www.virtualmin.com/node/18232
My recommendation is to open up a new request in the forums, using the "Forums" link above.
Provide all those juicy details there, and the wonderful folks in the forums will be able to lend a hand. Thanks!