Re: Target ROUTE

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

 




That means your kernel or/AND iptables doesnt have the ROUTE target compiled and ready for use.


   Try the command:    iptables -j ROUTE --help

   If ROUTE target is compiled, you should see something like this:

ROUTE target v1.8 options:
--oif ifname Route the packet through `ifname' network interface
--iif ifname Change the packet's incoming interface to `ifname'
--gw ip Route the packet via this gateway
--continue Route the packet and continue traversing the
rules. Not valid with --iif.


on the end of the help message. If you see only the iptables help, that means ROUTE is really not compiled.

If that's the case, you'll need to get a patch-o-matic file, apply ROUTE patch on your kernel source, recompile and install the new kernel and probably recompile iptables also.


Sincerily, Leonardo Rodrigues


----- Original Message ----- From: "Júlio César de Magalhães" <jcesar@xxxxxxxxxxx>
To: <netfilter@xxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, January 05, 2005 8:23 AM
Subject: Target ROUTE



i need all my network trafic to any host on 995 port goes to another gateway then the default. So i execute the following iptables command:
iptables -t mangle -A OUTPUT -p tcp --dport 995 -j ROUTE --gw x.x.x.x
where x.x.x.x is my another gateway .


The problem  when i execute the iptables command above is this:
iptables: No chain/target/match by that name

thanks a lot

Júlio César de Magalhães
Analista de Suporte - Poliedro/FNDE
(61) 81177547 Brasília - DF





[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux