IPTables will not restore rules
I'm not new to linux but this one has be baffled.
I installed a new Firewall on Fedora Core4, my routing and stuff works fine and iptables starts fine, but when save my settings and rules in iptables it comes back and shouts about:
Flushing Firewall rules: [OK]
Setting chains to policy ACCEPT: nat mangle filter [OK]
Unloading iptables modules: [OK]
ERROR occured at line: 19
Try 'iptables-restore -h or 'iptables-restore --help' for more info [FAILED]
I have no idea in what file he is refering to line19?
but I cant restore my rules.
Does anyone know about a nice IPTables front-end? I just need to spice-up my Firewall.
You likely have some kind of syntax error in the file you're trying to restore from (unless you changed the startup script it should be /etc/sysconfig/iptables). Did you happen to edit that file at all, in particular line 19? iptables-restore is highly sensitive to syntax, so technically you should never directly edit it, but rather load all your rules into iptables and then use iptables-save > file_to_restore . Post the contents of the file you're trying to restore from and hopefully we can find the error.
Firestarter and Guarddog are 2 GUI frontends for iptables that many people seem to like.
thanks I'll try that, no I haven't editted any IPTables file, I used webmin to see what the IPTables front-end was like and webmin screwd around with the file, mind you that was the last time that webmin was ever used om my servers. but thanks i'll try looking in that file to see what is wrong on line 19...
|All times are GMT -5. The time now is 07:32 PM.|