testing: Migrate ikev2-stroke-bye scenarios to vici

This commit is contained in:
Andreas Steffen
2021-06-22 10:23:06 +02:00
parent 706c58b291
commit eba2622587
931 changed files with 5934 additions and 5925 deletions
@@ -0,0 +1,14 @@
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 updown
script automatically inserts iptables-based firewall rules that let pass
the tunneled traffic. On gateway <b>sun</b>, a custom updown script
inserts iptables rules that 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.