[Openswan Users] openswan routing pb

Paul Wouters paul at xelerance.com
Tue Jul 18 07:01:40 CEST 2006


On Mon, 17 Jul 2006, nicolas salvagno wrote:

> I manage a linux box and a linksys befsx41 in lan2lan with openswan.

> It works perfectly from any machines from the both networks (ping,
> samba...). But the Linux gateway can't ping any machine from the foreign
> network (no echo-reply...)

When defining a host-subnet connection, the host-host connection is not
part of that. You must either add a leftsourceip=yourinternalip to the
conn to make the gateway use its internal address (and there for full
under the subnet-subnet tunnel), or you can add another host-subnet
tunnel (eg copy your ocnn, rneame it, and remove the subnet= on the
Linux side.

Paul


More information about the Users mailing list