mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-06 00:00:47 -04:00
11 lines
795 B
Plaintext
11 lines
795 B
Plaintext
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each to gateway <b>moon</b>.
|
|
Both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKE Mode Config protocol
|
|
by using the <b>leftsourceip=%modeconfig</b> parameter. By setting the option <b>modeconfig=push</b>
|
|
on both the roadwarriors and the gateway, the Mode Config server <b>moon</b> will actively push
|
|
the configuration down to <b>carol</b> and <b>dave</b>.
|
|
<p>
|
|
<b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass the
|
|
tunneled traffic. In order to test the tunnels, <b>carol</b> and <b>dave</b> then ping the client
|
|
<b>alice</b> behind the gateway <b>moon</b>. The source IP addresses of the two pings will
|
|
be the virtual IPs <b>carol1</b> and <b>dave1</b>, respectively.
|