-   Fedora (
-   -   iptables-restore fails on boot with custom kernel (

burntfuse 06-21-2006 03:20 PM

iptables-restore fails on boot with custom kernel
Ever since I built my own kernel in FC5, the "applying firewall settings" stage in the Red Hat graphical boot has failed, showing "iptables-restore: line 20 failed". The boot log didn't have any more information, so I looked in the iptables config file and found that line 20 had 'COMMIT' on it - just to make sure, I tried using iptables-restore with a file containing only COMMIT, and it failed on the first line. I've checked my kernel configuration a few times (I didn't even touch the networking options much, I was just trying to get it over with quickly so I could build ndiswrapper and a few other modules), and all the iptables options are enabled. Any idea what's going on? I've seen other threads on this same subject from other people saying that their problem was with the kernel configuration, but I'm sure I've enabled everything.

pljvaldez 06-21-2006 04:11 PM

Did you enable iptables as a module ("M") or as "Y"? On a Debian system I was working on, I had to actually compile in all the iptables stuff as Y. For some reason, the modules wouldn't function properly (I think it had to do with the iptables tools not being a new enough version to work with the modules or something like that). So the modules would load but all my iptables would fail.

Anyway, a recompile with "Y" for all the iptables/ipfilters stuff made it work for me... Good luck!

burntfuse 06-22-2006 09:52 AM

Thanks, I'll try that. I think a few options were compiled as modules...

All times are GMT -5. The time now is 11:59 AM.