[strongSwan] Multiple tunnels between same peer

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


Hi,



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



root at vc1:~# ipsec status

Security Associations:

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

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

     tunnel1{1}:   192.168.10.0/24 === 172.16.10.0/24

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

     tunnel2{2}:   192.168.14.0/24 === 172.16.12.0/24



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!



Regards,

Meera
-------------- 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