From: | Alex Efros <powerman@××××××××××××××××××.com> | ||
---|---|---|---|
To: | gentoo-server@l.g.o | ||
Subject: | Re: [gentoo-server] how to route outgoing emails through a specific network card or ip | ||
Date: | Thu, 17 May 2007 12:40:31 | ||
Message-Id: | 20070517123556.GE3154@home.power | ||
In Reply to: | Re: [gentoo-server] how to route outgoing emails through a specific network card or ip by Xavier Neys |
1 | Hi! |
2 | |
3 | On Thu, May 17, 2007 at 02:28:37PM +0200, Xavier Neys wrote: |
4 | > ip rule add fwmark 2 table adsl |
5 | > ip rule add fwmark 1 table cable |
6 | |
7 | Your forget to note what names of these tables 'adsl' and 'cable' must be |
8 | added to /etc/iproute2/rt_tables, for example: |
9 | |
10 | echo '1 adsl' >> /etc/iproute2/rt_tables |
11 | echo '2 cable' >> /etc/iproute2/rt_tables |
12 | |
13 | -- |
14 | WBR, Alex. |
Subject | Author |
---|---|
Re: [gentoo-server] how to route outgoing emails through a specific network card or ip | Xavier Neys <neysx@g.o> |