Default IP address is set to 127.0.0.2, but the detected external address is actually xxx.xxx.xxx.xxx. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.

Click the linked text to go to the module configuration page.

When running Virtualmin's post-install wizard on an OpenVZ based virtual private server, it's not uncommon to encounter the following message when running Virtualmin's "Re-Check Configuration" script after initial install:

Default IP address is set to 127.0.0.2, but the detected external address is actually xxx.xxx.xxx.xxx. This is typically the result of being behind a NAT firewall, and should be corrected on the module configuration page.

This is not a grave concern and it can be easily remedied. Notice that the words "module configuration" in the above message are linked.

  1. If you see this above message, click on the linked text within the message that says "module configuration"
Select "Networking settings" from the drop-down list.

You'll arrive at the "Configuration" page.

  1.  In the drop-down list next to the words "Configuration category", select "Networking settings".
If you're running an OpenVZ VPS, Virtualmin will very likely list your network interface as "venet0" when it should be "venet0:0" instead.
An incorrect network interface name should be corrected and then the "Save" button should be clicked on.

In the form next to the words "Network interface for virtual addresses", it is very likely that you'll see that "venet0" is entered in the input field beside it. This should say "venet0:0" instead.

  1. In the form next to the text "Network interface for virtual addresses", change "venet0" to "venet0:0".
  2. Click "Save".

Although this fixes the problem most of the time, it may be the case that venet0:0 is not the correct network interface name either. One way to find out for sure what the correct network interface name is, is to run ifconfig at a shell prompt.

Although there are no virtual servers installed, clicking the button is needed to make this message go away.

There should now be a message stating that:

Your system's primary IP address appears to have changed from 127.0.0.2 to 192.210.139.192. Virtual servers using the old address may be unreachable or serve the wrong web content.

Despite the fact that there are no virtual servers installed on a fresh system, action is required to make the message go away. 

  1. Click on the button that says "Update Incorrect IP Addresses"
Clicking the "Change now" button will prevent the warning on the previous screen from appearing again.

On the "Change IP Address" page, there are no addresses to change because there are no servers installed on a newly installed system. But the "Change Now" button must be clicked to make the previously mentioned message go away.

  1. Click the button that says "Change Now"
Expand the "System Settings" menu item and then click "Re-Check Configuration".

You can now have Virtualmin recheck your system's configuration.

  1. Expand the "System Settings" menu item located in the sidebar menu.
  2. Click the link that says "Re-Check Configuration

Virtualmin will now re-check your system's configuration.

That concludes the instructions on how to get rid of the notification pertaining to the default IP address being incorrect typically due to being behind a NAT firewall.


0 :Prinew.com