01-15-2019, 04:45 AM
(01-14-2019, 07:06 PM)Hidden Refuge Wrote: @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.
Yes VNC is the solution if we not get access via ssh port. but it's only available with console facility. and mostly vps's havn't provided CP
LOVE FOR ALL HATRED FOR NONE