[strongSwan] Multiple tunnels between same peer

Meera Sudhakar mira.sudhakar at gmail.com
Wed May 4 09:03:34 CEST 2011


I have created two tunnels between the same peers, using Strongswan.

root at vc1:~# ipsec status

Security Associations:

     tunnel1[1]: ESTABLISHED 52 minutes ago,[C=CH,
O=strongSwan, CN=]...[C=CH, O=strongSwan,

     tunnel1{1}:  INSTALLED, TUNNEL, ESP SPIs: cbafd55e_i cfe7b0c0_o

     tunnel1{1}: ===

     tunnel2{2}:  INSTALLED, TUNNEL, ESP SPIs: c3ab04b9_i c50e07d9_o

     tunnel2{2}: ===

When I try to ping one peer from the other, the packets go across without
encryption. In other words, it does not go through either tunnel. Is there
any other setting I need to do to get my traffic to go through the tunnel?
Also, can I specify which tunnel should be used for what? (say for example,
the first time I want to send packets only through tunnel 1, but the second
time I want to send it through tunnel 2)

Thank you for your help!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20110504/b38764e1/attachment.html>

More information about the Users mailing list