Linux Netfilter discussions
 help / color / mirror / Atom feed
From: DALive Editor <dalive@flashmail.com>
To: netfilter@lists.netfilter.org
Cc: jt@hpl.hp.com
Subject: Re: netfilter before routing for local outgoing packets ?
Date: Thu, 25 Sep 2003 18:29:07 -0400	[thread overview]
Message-ID: <3F736C33.9030903@flashmail.com> (raw)
In-Reply-To: <20030924225535.GB3366@bougret.hpl.hp.com>

Hello sir....I'm but a humble rookie. Yet, i recently, and very proudly 
compiled my first kernel. And this is a feature/option selectable in the 
kernel configuration, called "NAT of locak connections", under 
Networking Options > Networking Configuration. By the way, that was 
kernel 2.4.22.

Someone correct me if I'm wrong please.
Peace.


Jean Tourrilhes wrote:

>	Hi,
>
>	After reading various documentations, I've hit a deadlock. I
>hope you guys can help me.
>	<Not suscribed to the list, please cc me>
>
>	What I want to do :
>	I want to be able to route a specific *local* application
>differently from other applications. A crude simplification would be
>to route 'telnet' via eth0 and 'http' via eth1. In practice, I would
>really like the flexibility of having two set of routes.
>
>	I can define multiple routing tables (via 'ip route'), and set
>some rules defining which table should be used (via 'ip rule'). Those
>rules arebased on source address, dest address, TOS or
>fwmark. Netfilter allow me to set TOS or fwmark based on more or less
>what I want.
>		http://en.tldp.org/HOWTO/Adv-Routing-HOWTO/lartc.netfilter.html
>		http://linux-ip.net/html/tools-ip-rule.html
>		http://linux-ip.net/html/adv-multi-internet.html
>		(Excellent document by the way !)
>
>	Unfortunately, local outgoing packet don't seem to go through
>netfilter before passing through the routing table.
>		http://www.docum.org/stef.coene/qos/kptd/
>
>	Did I miss something obvious ? Is there any way to use 'ip
>rule' for local outgoing traffic ? Is there any other mechanism that
>would do what I want ?
>
>	Thanks...
>
>	Jean
>
>
>  
>




  reply	other threads:[~2003-09-25 22:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-24 22:55 netfilter before routing for local outgoing packets ? Jean Tourrilhes
2003-09-25 22:29 ` DALive Editor [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-09-25 22:46 Daniel Chemko
2003-09-26  7:36 ` Wim Ceulemans

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=3F736C33.9030903@flashmail.com \
    --to=dalive@flashmail.com \
    --cc=jt@hpl.hp.com \
    --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