From: Eric Leblond <eric@regit.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Routing SMTP traffic
Date: Fri, 04 Jul 2003 04:56:33 +0000 [thread overview]
Message-ID: <marc-lartc-105731151413831@msgid-missing> (raw)
In-Reply-To: <marc-lartc-105728898731574@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 716 bytes --]
Le ven 04/07/2003 à 05:15, Dorneles Treméa a écrit :
> Hi guys,
>
> I have a mail server running qmail with two network
> interfaces. All packages comes from the first one and
> I want to mark outgoing packages to route them using
> the second interface (ADSL).
>
> have TCP DST PORT 25 with 1
> iptables -A PREROUTING -t mangle -p tcp --dport 25 -j MARK --set-mark 1
you mark packet going to port 25 and you want to refirect packet coming
from port 25 (response packet).
You don't have any connection tracking with mark. If you want some
you've got to use CONNMARK.
By the way : will your ADSL ISP accept to route the packet coming from
an other IP ?
BR,
--
Eric Leblond <eric@regit.org>
[-- Attachment #2: Ceci est une partie de message numériquement signée --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-07-04 4:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-04 3:15 [LARTC] Routing SMTP traffic Dorneles Treméa
2003-07-04 4:56 ` Eric Leblond [this message]
2003-07-04 14:27 ` Dorneles Treméa
2003-07-08 14:15 ` Hanno Mueller
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=marc-lartc-105731151413831@msgid-missing \
--to=eric@regit.org \
--cc=lartc@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 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.