Added swanctl/net2net-route scenario
This commit is contained in:
+9
@@ -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.
|
||||
Reference in New Issue
Block a user