01-14-2019, 07:06 PM
@sagher
Not really sure what a secure iptables backup is. I suppose you want a fail safe setup? Hard to help with this without exactly knowing which services and on which ports and protocols you are hosting your applications.
"stuck" - Ah. This happens when you apply wrong rules and lock yourself out. With that. Ehm. You need to learn to how to use iptables. Only real solution. A way to avoid getting stuck is applying iptables rules through th VPS emergency console or VNC in the control panel. This way you still have access to iptables and can revert changes that might have locked you out when being logged in via SSH. You can also test rules on a secondary VPS or a local VM on your computer before applying them to your VPS.
To delete all iptables rules you use the first two commands in step one of the guide.
Not really sure what a secure iptables backup is. I suppose you want a fail safe setup? Hard to help with this without exactly knowing which services and on which ports and protocols you are hosting your applications.
"stuck" - Ah. This happens when you apply wrong rules and lock yourself out. With that. Ehm. You need to learn to how to use iptables. Only real solution. A way to avoid getting stuck is applying iptables rules through th VPS emergency console or VNC in the control panel. This way you still have access to iptables and can revert changes that might have locked you out when being logged in via SSH. You can also test rules on a secondary VPS or a local VM on your computer before applying them to your VPS.
To delete all iptables rules you use the first two commands in step one of the guide.