Skip to contentSkip to conversation

iptables 1.2.11

DISCUSSION Paulo Andre 2 participants 3 messages Aug 28, 2004

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 10 lines · Paulo Andre

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

#2 lore raw
Quoted 10 lines · Paulo Andre
Quoted 9 lines · Paulo Andre

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?

Quoted 7 lines
Quoted 1 line

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.

Signature · 12 lines
Jose Maria Lopez Hernandez
Director Tecnico de bgSEC
[email protected]
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"