[strongSwan] Problem routing traffic to Public IP via Tunnel

Tobias Brunner tobias at strongswan.org
Wed Apr 18 19:40:45 CEST 2012


Hi Angel,

>         #rightsubnets=   {X1.Y1.Z1.11/32 X2.Y2.Z3.19/32}
>         ...
> 
> Traffic to private ip X1.Y1.Z1.11 is OK, but public X2.Y2.Z3.19 is not
> reachable. How can I see if openswan puts packet for X2.Y2.Z3.19 in the
> tunnel?

Wrong mailing list?  If you're using Openswan, try asking your question
on their list.  Are you, in fact, using strongSwan, then your config is
wrong.  We don't support the rightsubnets option.  But with IKEv2 you
may use

	rightsubnet=X1.Y1.Z1.11/32,X2.Y2.Z3.19/32

that is, use rightsubnet (singular) then separate your subnets (or
addresses) with commas.  For IKEv1 you have to add a separate conn
section for each subnet.

Regards,
Tobias




More information about the Users mailing list