[Openswan Users] 2 DSL Connections

Paul Wouters paul at xelerance.com
Thu Dec 23 12:42:04 CET 2004


On Thu, 23 Dec 2004, Alain RICHARD wrote:

> This is because the ESP packets are sent using the default route (PPP1) and 
> not PPP0, and that probably there is no mean for the second provider to 
> properly route trafic using the adress the first provider.
>
> You have to setup the routing process on your linux box in order to use the 
> PPP0 interface for all trafic emitted with the address of the PPP0 interface 
> (IKE and ESP trafic) and use PPP1 interface for all other trafic.
>
> Use iproute2 package (ip route command) to do that. See "Linux Advanced 
> Routing and Traffic Control Howto" at http://lartc.org/

You can also use the leftsourceip= option to let openswna do the advanced routing
for you.

Paul


More information about the Users mailing list