From: Mateus Cordeiro Inssa <mateus@hyperdrive.com.br>
To: netfilter@lists.netfilter.org
Subject: Re: Target ROUTE
Date: Wed, 5 Jan 2005 10:23:15 -0200 [thread overview]
Message-ID: <200501051023.19267.mateus@hyperdrive.com.br> (raw)
In-Reply-To: <002801c4f322$70d1ece0$8b00000a@casa>
[-- Attachment #1: Type: text/plain, Size: 2137 bytes --]
Or just use de MARK target and use iproute2 to route by mark.
[]'s
Em Quarta 05 Janeiro 2005 10:31, Leonardo Rodrigues Magalhães escreveu:
> 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@fnde.gov.br>
> To: <netfilter@lists.netfilter.org>
> 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
--
Mateus Cordeiro Inssa
--------------------------------------
Linux User: 76186 Kernel: 2.6.10-rc2mateus
ICQ (Kopete): 15243895
AIM: blaublaux
MSN: mateusinssa@hotmail.com
--------------------------------------
mateus@hyperdrive.com.br
Qua Jan 5 10:22:08 BRST 2005
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2005-01-05 12:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-05 11:23 Target ROUTE Júlio César de Magalhães
2005-01-05 12:31 ` Leonardo Rodrigues Magalhães
2005-01-05 12:23 ` Mateus Cordeiro Inssa [this message]
2005-01-07 11:32 ` Askar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200501051023.19267.mateus@hyperdrive.com.br \
--to=mateus@hyperdrive.com.br \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox