* [Thu, Oct 21, 2010 at 01:33:13AM +0100] Chris Haynes:
Although no strictly a 'firewall' question, I expect the experts on
iptables are on this list.

Not an expert, anyway...

I have Debian lenny.
$ uname -r
2.6.32.21-m64-mb1

It isn't from a Debian package, is it?

$ sudo iptables -L

This should be:
$ sudo iptables -t nat -L

Can anyone tell me how to get REDIRECT working, or suggest further
diagnostics?

Try doing

$ grep REDIRECT /boot/config-$( uname -r )

for checking kernel support, and

$ dpkg -L iptables | grep REDIRECT

for the userspace counterpart.

For reference, here the results on my (sid) box:

gpi...@caimano:~$ grep REDIRECT /boot/config-$( uname -r )
CONFIG_IP_NF_TARGET_REDIRECT=m   <--
CONFIG_BRIDGE_EBT_REDIRECT=m
gpi...@caimano:~$ dpkg -L iptables | grep REDIRECT /lib/xtables/libipt_REDIRECT.so

Ciao,
Gian Piero.


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to