* Problems with target ROUTE
@ 2006-07-14 7:03 sergiolozano
2006-07-14 7:54 ` Alexandru Dragoi
0 siblings, 1 reply; 3+ messages in thread
From: sergiolozano @ 2006-07-14 7:03 UTC (permalink / raw)
To: netfilter
Hi all,
I have a host with 4 net cards and I need all network traffic to 8180 port
of one of them goes to another net card. So, I've thougth about executing
this iptables command:
iptables -t mangle -A PREROUTING -p tcp --dport 8180 -s x.x.x.x -d x.x.x.x
-j ROUTE --gw x.x.x.x -oif x
However, when I execute this command, this is the message:
'iptables: No chain/target/match by this name'
I know that my kernel supports this target because I got a proper help when
I execute 'iptables -t mangle --help'.
Please, help me.
_________________________________________________________
Lortu posta elektronikoa doan >>> http://www.euskalerria.org
___________________________________________________________________________________________
Lortu posta elektronikoa doan >> http://www.euskalerria.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems with target ROUTE
2006-07-14 7:03 sergiolozano
@ 2006-07-14 7:54 ` Alexandru Dragoi
0 siblings, 0 replies; 3+ messages in thread
From: Alexandru Dragoi @ 2006-07-14 7:54 UTC (permalink / raw)
To: sergiolozano; +Cc: netfilter
sergiolozano@euskalerria.org wrote:
>Hi all,
>
>I have a host with 4 net cards and I need all network traffic to 8180 port
>of one of them goes to another net card. So, I've thougth about executing
>this iptables command:
>iptables -t mangle -A PREROUTING -p tcp --dport 8180 -s x.x.x.x -d x.x.x.x
>-j ROUTE --gw x.x.x.x -oif x
>
>However, when I execute this command, this is the message:
>'iptables: No chain/target/match by this name'
>I know that my kernel supports this target because I got a proper help when
>I execute 'iptables -t mangle --help'.
>
>Please, help me.
>_________________________________________________________
>Lortu posta elektronikoa doan >>> http://www.euskalerria.org
>___________________________________________________________________________________________
>Lortu posta elektronikoa doan >> http://www.euskalerria.org
>
>
>
Actually it means the iptables tool knows about the ROUTE target, but
the kernel doesn't.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Problems with target ROUTE
@ 2006-07-17 6:33 sergiolozano
0 siblings, 0 replies; 3+ messages in thread
From: sergiolozano @ 2006-07-17 6:33 UTC (permalink / raw)
To: netfilter
Well, I've tried to compile a kernel with support for target ROUTE but I
can't find where the option is.
Maybe it must be patched?
_________________________________________________________
Lortu posta elektronikoa doan >>> http://www.euskalerria.org
___________________________________________________________________________________________
Lortu posta elektronikoa doan >> http://www.euskalerria.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-17 6:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-17 6:33 Problems with target ROUTE sergiolozano
-- strict thread matches above, loose matches on Subject: below --
2006-07-14 7:03 sergiolozano
2006-07-14 7:54 ` Alexandru Dragoi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.