testing: Reorganizing IKEv1 and IKEv2 examples
For documentation purposes the new folders ikev1-algs, ikev2-algs, ikev1-multi-ca and ikev2-multi-ca have been created. Most of the test cases have now been converted to the vici interface. The remaining legacy stroke scenarios yet to be converted have been put into the ikev2-stroke-bye folder. For documentation purposes some legacy stroke scenarios will be kept in the ikev1-stroke, ikev2-stroke and ipv6-stroke folders.
This commit is contained in:
1 parent
db93938297
commit
7c5a2974b9
4054 files changed
+16375
-15209
No files matched your search
@@ -1,15 +0,0 @@
|
||||
A connection between two identical <b>10.0.0.0/14</b> networks behind the gateways <b>moon</b>
|
||||
and <b>sun</b> is set up. In order to make network routing work, the subnet behind <b>moon</b>
|
||||
sees the subnet behind <b>sun</b> as <b>10.4.0.0/14</b> whereas the subnet behind <b>sun</b>
|
||||
sees the subnet behind <b>moon</b> as <b>10.8.0.0/14</b>. The necessary network mappings are
|
||||
done on gateway <b>sun</b> using the iptables <b>MARK</b> and <b>NETMAP</b> targets.
|
||||
<p/>
|
||||
Upon the successful establishment of the IPsec tunnel, on gateway <b>moon</b> the directive
|
||||
<b>leftfirewall=yes</b> automatically inserts iptables-based firewall rules that let pass
|
||||
the tunneled traffic whereas on gateway <b>sun</b> the script indicated by
|
||||
<b>leftupdown=/etc/mark_updown</b> inserts iptables rules that set marks defined in the
|
||||
connection definition of <b>ipsec.conf</b> both on the inbound and outbound traffic, create
|
||||
the necessary NETMAP operations and forward the tunneled traffic.
|
||||
<p/>
|
||||
In order to test both tunnel and firewall, client <b>alice</b> behind gateway <b>moon</b>
|
||||
pings client <b>bob</b> located behind gateway <b>sun</b> and vice versa.
|
||||
Reference in new issue
Block a user