Re: [exim] Change default gateway

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Tom Kistner
Data:  
Para: exim-users
Asunto: Re: [exim] Change default gateway
Ted Cooper schrieb:

> Oscar Mas wrote:
>> I have two dsl and i'd like change the default gateway of exim.


> To change the source interface of outgoing smtp connections. Throw into
> your smtp transport.
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch30.html#id606642


In addition, make sure the traffic leaves the system on the correct
interface. You probably need source policy routing to do that. On Linux:

ip rule add from $EXIM_IP table 201
ip route add default via $EXIM_DEFAULT_GW_IP dev $EXIM_INTERFACE_NAME
table 201

/tom