]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
tests: fixed description of swanctl ip-pool scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Mon, 29 Jun 2015 10:41:37 +0000 (12:41 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 21 Jul 2015 21:17:13 +0000 (23:17 +0200)
testing/tests/swanctl/ip-pool-db/description.txt
testing/tests/swanctl/ip-pool/description.txt

index 9774e573bb27e140732263c50314bb791a40dc1c..2cac465db2edbaea5fdf5b0f3ad72a3bdb98d948 100755 (executable)
@@ -1,7 +1,7 @@
 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 IKEv2 configuration payload
-by using the <b>leftsourceip=%config</b> parameter. The gateway <b>moon</b> assigns virtual IP
-addresses from a pool named <b>bigpool</b> that was created in an SQL database by the command
+Both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKEv2 configuration payload.
+The gateway <b>moon</b> assigns virtual IP addresses from a pool named <b>bigpool</b> that was
+created in an SQL database by the command
 <b>ipsec pool --name bigpool --start 10.3.0.1 --end 10.3.3.232 --timeout 0</b>.
 <p>
 The updown script automatically inserts iptables-based firewall rules that let pass the
index 23cab8e8f2940e816161f3945d0da7dedf323bda..17b1573f697126882f60ee6aadf4b76f8a0ff00a 100755 (executable)
@@ -1,10 +1,9 @@
 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 IKEv2 configuration payload
-by using the <b>leftsourceip=%config</b> parameter. The gateway <b>moon</b> assigns virtual
-IP addresses from a simple pool defined by <b>rightsourceip=10.3.0.0/28</b> in a monotonously
-increasing order. 
-<p>
-<b>The updown script automatically inserts iptables-based firewall rules that let pass
+Both <b>carol</b> and <b>dave</b> request a <b>virtual IP</b> via the IKEv2 configuration payload.
+The gateway <b>moon</b> assigns virtual IP addresses from a simple pool defined in the pools section
+of swanctl.conf in a monotonously increasing order.
+<p/>
+The updown script 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.