Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Alexei Ustyuzhaninov <alust@alust.homeunix.com>
To: "Leonardo Rodrigues Magalhães" <leolistas@solutti.com.br>
Cc: ML netfilter <netfilter@vger.kernel.org>
Subject: Re: IPTables : How to force data coming from ethX being output by the same device
Date: Thu, 24 Apr 2008 10:38:01 +0600	[thread overview]
Message-ID: <48100EA9.2050001@alust.homeunix.com> (raw)
In-Reply-To: <480F727C.20608@solutti.com.br>

Leonardo Rodrigues Magalhães wrote:
> 
> 
> Alexei Ustyuzhaninov escreveu:
>>
>> I don't think any routing may be done without iptables. A simple 
>> example: you have two internet connections and want to route all 
>> outgoing smtp traffic (dst port=25) to one provider and the rest of 
>> the traffic - to the other provider. How can you do this without 
>> marking packets with iptables?
>>
> 
>    OK ..... but i have 2 internet connections and want some specific IPs 
> (my servers, for example) to go out on link1 and all the other machines 
> reaches internet through link2, then it can be done without iptables, 
> with plain source routing rules.

Yes, surely some routing cases (well, most of them in real life) maybe 
done with old good route command without any additional tools. But some 
special ones require iptables.

-- 
Alexei

  parent reply	other threads:[~2008-04-24  4:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-23 14:03 IPTables : How to force data coming from ethX being output by the same device Yves DUF
2008-04-23 14:37 ` Leonardo Rodrigues Magalhães
2008-04-23 14:42   ` Jan Engelhardt
2008-04-23 14:51     ` Leonardo Rodrigues Magalhães
2008-04-23 15:17       ` Jan Engelhardt
2008-04-23 15:21         ` John covici
2008-04-23 16:12           ` Jan Engelhardt
2008-04-23 15:38         ` Leonardo Rodrigues Magalhães
2008-04-23 16:33           ` Alexei Ustyuzhaninov
2008-04-23 17:31             ` Leonardo Rodrigues Magalhães
2008-04-23 18:50               ` Jan Engelhardt
2008-04-24  4:38               ` Alexei Ustyuzhaninov [this message]
2008-04-23 14:49 ` Leonid Zeitlin
2008-04-23 19:06   ` Yves DUF

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=48100EA9.2050001@alust.homeunix.com \
    --to=alust@alust.homeunix.com \
    --cc=leolistas@solutti.com.br \
    --cc=netfilter@vger.kernel.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