Has anyone had success in doing masq with 2.5 under gentoo? I don't know
why this is, but I get the following:

        www root # iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
        iptables: Invalid argument

And this is with mm-sources-2.5.70-r3 and iptables-1.2.8-r1. I've tried
recompiling iptables against mm-sources-2.5.70-r3 with the following
failure:

gcc -march=athlon-xp -mcpu=athlon-xp -O3 -pipe -Wall -Wunused
-I/usr/src/linux/include -Iinclude/ -DIPTABLES_VERSION=\"1.2.8\"  -fPIC
-o extensions/libipt_physdev_sh.o -c extensions/libipt_physdev.c
extensions/libipt_physdev.c: In function `parse':
extensions/libipt_physdev.c:86: `IPT_PHYSDEV_OP_MATCH_IN' undeclared
(first use in this function)
extensions/libipt_physdev.c:86: (Each undeclared identifier is reported
only once
extensions/libipt_physdev.c:86: for each function it appears in.)
extensions/libipt_physdev.c:97: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared
(first use in this function)
extensions/libipt_physdev.c: In function `print':
extensions/libipt_physdev.c:144: `IPT_PHYSDEV_OP_MATCH_IN' undeclared
(first use in this function)
extensions/libipt_physdev.c:146: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared
(first use in this function)
extensions/libipt_physdev.c: In function `save':
extensions/libipt_physdev.c:156: `IPT_PHYSDEV_OP_MATCH_IN' undeclared
(first use in this function)
extensions/libipt_physdev.c:158: `IPT_PHYSDEV_OP_MATCH_OUT' undeclared
(first use in this function)
make: *** [extensions/libipt_physdev_sh.o] Error 1


--
[EMAIL PROTECTED] mailing list

Reply via email to