On 6/13/10 12:05 AM, Jacob Vickers wrote:
You can also use iptables-restore< /etc/sysconfig/iptables to
load any changes you've made to the iptables file. It will
complain if you have a syntax error.
Little trick I also learned - set yourself up a cron job that will reset
the firewall rules every hour, even if it resets them to wide open. This
way when you lock yourself out, you only have to wait until the top of the
hour for the cron to kick off before the rules are reset and you can get
back in.
Enjoy!
That sounds like what I used to do with my Cisco gear. When I'm working
on a remote router or switch, I set it up so that it reboots in a 10 or
15 minutes, then I make whatever changes to the config that I need to
without saving it. That way if I mess something up I can just wait for
it to reboot and come back as it was. Otherwise I save the config and
remove to reboot process. :)
Scott
---------------------------------------------------------------------------------
Qmailtoaster is sponsored by Vickers Consulting Group
(www.vickersconsulting.com)
Vickers Consulting Group offers Qmailtoaster support and installations.
If you need professional help with your setup, contact them today!
---------------------------------------------------------------------------------
Please visit qmailtoaster.com for the latest news, updates, and packages.
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]