Return to description.txt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / strongswan / testing / tests / ikev2 / lookip |
1.1 misho 1: The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each to gateway <b>moon</b>. 2: Both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKEv2 configuration payload 3: by using the <b>leftsourceip=%config</b> parameter. The gateway <b>moon</b> assigns virtual 4: IP addresses from a simple pool defined by <b>rightsourceip=10.3.0.0/28</b> in a monotonously 5: increasing order. 6: <p> 7: Using the <b>ipsec lookup</b> tool which communicates with the <b>lookip</b> plugin via a unix 8: socket, information about the assigned virtual IP is retrieved. 9: <p> 10: <b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass 11: the tunneled traffic. In order to test the tunnels, <b>carol</b> and <b>dave</b> then ping 12: the client <b>alice</b> behind the gateway <b>moon</b>. The source IP addresses of the two 13: pings will be the virtual IPs <b>carol1</b> and <b>dave1</b>, respectively.