[Swan] Send lan traffic over established subnet - subnet tunnel

Nick Howitt nick at howitts.co.uk
Thu Mar 3 15:38:08 UTC 2016


Use left/rightsubnets instead of left/rightsubnet. Check the man page for ipsec.conf.

On 2 March 2016 13:44:29 GMT+00:00, Antonio Silva <asilva at wirelessmundi.com> wrote:
>Hi,
>
>i've the following setup
>
>         wan1/lan1 <------- VPN ------->    wan2/lan2
>lanA - serverA                            serverB - lanB
>
>
>I establish a ipsec tunnel between wan1 and wan2 sharing subnets lan1 
>and lan2.
>The tunnel allows me to send traffic between lan1 and lan2, but i also 
>want to send traffic from lanA to lanB.
>
>I try to create routing and nat rules to make it work but no success...
> 
>If I established a tunnel using the lanA and lanB it solves the issue, 
>but i wil need two tunnels...
>
>Is there way to route traffic from lanA and lanB without having to 
>create another tunnel? Maybe by setting manual xfrm policies...
>
>
>Thanks,
>António
>
>_______________________________________________
>Swan mailing list
>Swan at lists.libreswan.org
>https://lists.libreswan.org/mailman/listinfo/swan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.libreswan.org/pipermail/swan/attachments/20160303/6d4a45c2/attachment.html>


More information about the Swan mailing list