Added swanctl/net2net-route scenario

This commit is contained in:
Andreas Steffen
2014-06-18 14:57:33 +02:00
parent 3f5f0b8940
commit d345f0b75d
9 changed files with 145 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
A tunnel that will connect the subnets behind the gateways <b>moon</b>
and <b>sun</b>, respectively, is preconfigured by installing a %trap eroute
on gateway <b>moon</b> by means of the setting <b>auto=route</b> in ipsec.conf.
A subsequent ping issued by client <b>alice</b> behind gateway <b>moon</b> to
<b>bob</b> located behind gateway <b>sun</b> triggers the %trap eroute and
leads to the automatic establishment of the subnet-to-subnet tunnel.
<p>
The updown script automatically inserts iptables-based firewall rules
that let pass the tunneled traffic.