10 lines
686 B
Plaintext
10 lines
686 B
Plaintext
A connection between the subnets behind the gateways <b>moon</b> and <b>sun</b> is set up.
|
|
The authentication is based on <b>X.509 certificates</b> and the <b>kernel-libipsec</b>
|
|
plugin is used for userland IPsec ESP encryption. In this scenario, UDP encapsulation
|
|
isn't enforced by the plugin as sending of raw ESP packets is enabled.
|
|
<p/>
|
|
Upon the successful establishment of the IPsec tunnel, an updown script automatically
|
|
inserts iptables-based firewall rules that let pass the traffic tunneled via the
|
|
<b>ipsec0</b> tun interface. 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>.
|