From: Herbert Pötzl (herbert_at_13thfloor.at)
Date: Sat 09 Aug 2003 - 00:48:30 BST
On Fri, Aug 08, 2003 at 07:11:33PM -0400, Benoit St-André wrote:
> Hi everyone
>
> 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".
hmm, could you give an example, which in your setup
works with the original 2.4.21 kernel, and the MDK 9.1
iptables, but fails with 2.4.21ctx17a?
could you test 2.4.22-pre10 with the patches at
http://www.13thfloor.at/VServer/Patches.shtml?
TIA,
Herbert
> 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
> iptables-1.27a-2mdk.i586.rpm
>
> 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