Re: [LARTC] Routing SMTP traffic

Linux Advanced Routing and Traffic Control

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

 



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@xxxxxxxxx>

Attachment: signature.asc
Description: Ceci est une partie de message=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux