[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: iptables -j ROUTE



В Вто, 08/08/2006 в 22:02 +0400, Stanislav Maslovski пишет:
> On Tue, Aug 08, 2006 at 07:49:08PM +0300, Покотиленко Костик wrote:
> > Hi.
> > 
> > I'm trying to settle routing with iptables. I have a router with 2 Inet
> > connections, and I need routing decision upon source IP.
> > 
> > # iptables -A PREROUTING -t mangle -s 10.0.0.0/8 -j ROUTE --oif eth0
> > iptables: No chain/target/match by that name
> > #
> > 
> > So, what's wrong?
> 
> This indicates that the support for this target has neither been compiled in
> the kernel nor loaded as a module. It seems that there is no ipt_ROUTE.c in
> the kernel tree anymore (I do not see it in 2.6.17 tree at least).

# ls -la /lib/iptables/libipt_ROUTE.so
-rw-r--r--  1 root root 4528 2004-12-02
02:38 /lib/iptables/libipt_ROUTE.so

# ls /lib/modules/2.6.8-2-686/kernel/net/ipv4/netfilter | grep -i route
#

gives no result.

> Also I have checked that there is no ipt_ROUTE.ko file in the
> kernel-image-2.6.8-2-686 package.

So it's depricated/unsupported now? Or yet?

-- 
Покотиленко Костик <casper@meteor.dp.ua>



Reply to: