[wellylug] iptables question

Richard Hector rhector at paradise.net.nz
Sat Mar 27 20:36:25 NZST 2004


Hi all,

If I have, for example:

iptables -N combined
iptables -A INPUT -j combined
iptables -A FORWARD -j combined

does this

iptables -A combined -o !+ -j ACCEPT

make sense?

I'm trying to match only input stuff, after I've combined the two
chains. Obviously, if that was all I had, it would be silly; I have
rather more than that above - and more levels of chains.

If that won't work, is there any other way to detect whether a packet is
to be routed or not, once it's out of the default chains?

Any suggestions appreciated.

Thanks,

Richard




More information about the wellylug mailing list