[Openswan Users] openswan not encapsulating packets

Andy fs at globalnetit.com
Mon May 22 11:21:52 CEST 2006


On Mon, 2006-05-22 at 15:32 +0200, Leonardo Piras wrote:
> > You are sending pings with a source IP of 172.16.0.4, but the 'leftsubnet'
> > declaration is for 192.168.3.224/29, so the packets don't match the policy.
> > 
> > If your client machine actually has an address on 192.168.3.224/29, then use
> > this as the source: e.g.
> > 
> >    ping -I 192.168.3.225 100.150.1.13
> 
> Assignign aliases and pinging with -I makes my ping answer.
> Guess i'll have to adjust the routing now... cause everything towards
> 100.150.1.13 has to come from that interface.

You can set the source IP in the connection definition - use
lefsourceip=<address>. That affects locally generated packets destined
for your rightsubnet.

> 
> Thanks
> 
> Leonardo.
> _______________________________________________
> Users at openswan.org
> http://lists.openswan.org/mailman/listinfo/users
> Building and Integrating Virtual Private Networks with Openswan: 
> http://www.amazon.com/gp/product/1904811256/104-3099591-2946327?n=283155
-- 
Andy <fs at globalnetit.com>



More information about the Users mailing list