Ralf Ronneburger wrote:
Hi Jasper,
sure there is, two possibilities I can think of:
1. make you own iptables-skript and run it by cron 2. make a copy of your /etc/rc.d/suse-firewall2.conf ( don't know the exact name, don't have it installed, use my own script) and then make a script like this (I'm not sure either, if rcsusefw is the right command, but it's probably something like that):
morning:
mv /etc/rc.d/suse-firewall2.conf /etc/rc.d/suse-firewall2.conf.night mv /etc/rc.d/suse-firewall2.conf.day /etc/rc.d/suse-firewall2.conf rcsusefw restart
evening:
mv /etc/rc.d/suse-firewall2.conf /etc/rc.d/suse-firewall2.conf.day mv /etc/rc.d/suse-firewall2.conf.night /etc/rc.d/suse-firewall2.conf rcsusefw restart
I don't know, if this would be very elegant, but it should work :-).
Best regards,
Ralf Ronneburger
Hello, why don't you use the iptables-save and iptables-restore command? Regards Ruediger