Difference between revisions of "Manually Disable NAT on Proxmox Node"
From ProxCP Documentation
(Created page with "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 Proxm...") |
|||
Line 1: | Line 1: | ||
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. | 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 == | ||
+ | |||
+ | # <code>service nginx stop</code> | ||
+ | # <code>apt remove --purge nginx && apt remove --purge nginx* && apt remove --purge libnginx-mod-* && apt autoremove</code> | ||
+ | # After removing nginx, ensure the /etc/nginx and /var/www/html directories are deleted <code>rm -rf /etc/nginx && rm -rf /var/www/html</code> | ||
+ | # <code>systemctl disable proxcp-iptables.service</code> | ||
+ | # <code>rm /root/proxcp-iptables.sh</code> | ||
+ | # <code>rm /etc/systemd/system/proxcp-iptables.service</code> | ||
+ | # <code>rm /root/proxcp-iptables.rules</code> | ||
+ | # Remove the <code>vmbr10</code> interface from the /etc/network/interfaces file | ||
+ | # <code>iptables -F -t nat && iptables -F -t raw</code> | ||
+ | # Reboot the server |
Latest revision as of 22:29, 23 July 2020
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