Manually Disable NAT on Proxmox Node
From ProxCP Documentation
Generally speaking, once a node is NAT-enabled in ProxCP, it cannot be disabled automatically. However, instructions are provided below to manually disable NAT mode on a Proxmox node connected to ProxCP.
As expected, NAT VPS features will not work if NAT mode is disabled.
Steps
service nginx stop
apt remove --purge nginx && apt remove --purge nginx* && apt remove --purge libnginx-mod-* && apt autoremove
- After removing nginx, ensure the /etc/nginx and /var/www/html directories are deleted
rm -rf /etc/nginx && rm -rf /var/www/html
systemctl disable proxcp-iptables.service
rm /root/proxcp-iptables.sh
rm /etc/systemd/system/proxcp-iptables.service
rm /root/proxcp-iptables.rules
- Remove the
vmbr10
interface from the /etc/network/interfaces file iptables -F -t nat && iptables -F -t raw
- Reboot the server