Control Web Panel
WebPanel => CentOS-WebPanel GUI => Topic started by: klone7474 on August 10, 2016, 01:05:08 AM
-
WARNING! Possible NAT networking detected, if you are using NAT-ed network then please enable NAT.
error message is coming even NAT has been enabled and Vhosts have been rebuild. Simply deactivate that error is not an option. I like to know issue to solve it and not simply ignore.
-
I have this error too — even though I have a static IP at a datacenter, CWP is somehow "autodetecting" a NAT'd IP address. I have to dismiss the alert regularly.
-
I'll answer my own question out of posterity, in case it will help someone else. Turns own the CentOS VM I was dabbling with had libvrtd enabled by default, instead of being a lean mean LAMP stack. So to fix the problem, you have to get rid of the virb0 and virbr0-nic virtual bridge interfaces.
systemctl stop libvirtd.service
systemctl disable libvirtd.service
brctl show
ip link set virbr0 down
brctl delbr virbr0
brctl show
ifconfig -a
Reboot if necessary and you should be left with just your primary en and loopback interfaces.
-
Well, it went away for a day or two, but now the NAT settings detection dialog box still keeps coming back, even with no virtual bridges. A frequent annoyance to be sure.
-
This fix appears to work. Edit /usr/local/apache/conf/sharedip.conf. Change the first line to read:
<VirtualHost *:80>
Voila — no more erroneous NAT nag screen.
-
Actually, I spoke too soon. After the next reboot & login, the NAT nag screen has returned. I can't see any obvious reason why, since my IP setup is static. On one server, it was setup without NetworkManager with static IF configs; the other 2 servers were setup with nmtui and set as static connections.
-
Okay, this got so tiresome I did an end run around the problem. With uBlock Origin (https://chrome.google.com/webstore/detail/ublock-origin/cjpalhdlnbpafiamejdnhcphjbkeiagm), create a custom filter:
! 2023-01-01 https://yourserver.net:2031
yourserver.net##.alert-danger.alert
So you will no longer see any of the alert-danger class of banner notifications, but currently this is the only one I am seeing... YMMV.