How to not lock yourself our of your own remote Linux server
While testing iptables rules on a remote server you can add the following line to crontab:
*/10 * * * * /sbin/iptables -F
This will reset your rules every 10 minutes, so if you made a mistake you will still be able to gain access to your router in a maximum of 10 minutes.
Source
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment