El sÃb, 28 de 08 de 2004 a las 10:44, Paulo Andre escribiÃ: > On 28/08/2004 10:38, Paulo Andre wrote: > > I have just installed a new kernel (2.4.27). > > I patched the kernel to handle pptp/gre conntrack. > > I also installed iptables 1.2.11 on this server, after the kernel build I > > installed iptables and that went through fine. > > > > When I restart the server the new kernel works great, but iptables gives me > > an error of 'iptables: Invalid argument' for any -t nat rules. > > Have I missed an option on the kernel rebuild? > > > > Paulo > > To add to this, I have then rebooted the server and gone back to the old > kernel and still I have problems with the iptables when trying to add '-t > nat' rules. > > Paulo You have to patch with patch-o-matic ng the kernel and the userspace (iptables) source code and then compile them. Both need to have the same code patched, if one of them has code different from the other (another patch-o-matic patch) then you will have problems. -- Jose Maria Lopez Hernandez Director Tecnico de bgSEC jkerouac@xxxxxxxxx bgSEC Seguridad y Consultoria de Sistemas Informaticos http://www.bgsec.com ESPAÃA The only people for me are the mad ones -- the ones who are mad to live, mad to talk, mad to be saved, desirous of everything at the same time, the ones who never yawn or say a commonplace thing, but burn, burn, burn like fabulous yellow Roman candles. -- Jack Kerouac, "On the Road"