[strongSwan] Tunnel seems to be established, but traffic does not flow through it.

Martin Willi martin at strongswan.org
Fri Oct 14 09:49:22 CEST 2011


Hi,

>       left=169.254.3.75
>       leftsubnet=169.254.3.0/32
>       right=169.254.4.75
>       rightsubnet=169.254.4.0/32

> root at localhost:/root> ping 169.254.4.75

Your configuration looks wrong. You are sending traffic between your
hosts 169.254.4.75 and 169.254.3.75, but the tunnel you set up is
between the addresses 169.254.3.0/32 and 169.254.4.0/32. 

If you need a host-to-host tunnel, remove the leftsubnet/rightsubnet
definitions. If you want to tunnel the networks attached to your hosts,
correct your left/rightsubnet options (/24 or something would make more
sense, /32 does not include your hosts).

Regards
Martin






More information about the Users mailing list