From: Benoit St-André (ben_at_benoitst-andre.net)
Date: Sat 09 Aug 2003 - 00:11:33 BST
Since I've searched hours (almost days) for that problem and solved it,
thought that might be a good thing to put in a faq.
With Mandrake 9.1, using 2.4.21ctx17a kernel supplied by Jacques,
iptables PREROUTING and POSTROUTING DNAT and SNAT route are not working
(iptables refuses to take them, stating "iptables: Invalid argument".
Solution resides in removing the iptables rpm supplied by Mandrake and
installing the same version from RedHat.
The same iptables (iptables-1.27a-2) seems to be used but obviously,
there is some difference since it's working with the red hat 9.0
iptables-1.27a-2.i386.rpm and not with the supplied
It is perfectly working now.
Hope that can help someone.
-- Benoit St-André ben_at_benoitst-andre.net http://benoitst-andre.net Connaissez-vous Linuxédu-Québec ? http://linuxeduquebec.org