blob: d8f019d363ecaa2c7446d0469c219c48c7793be3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
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. The negotiated encryption and authentication
algorithms are <b>NULL</b> and <b>SHA-256</b>, respectively.<br/>
Just by way of example, <b>NULL</b> encryption is also configured for the IKEv2 connection,
using the NULL-crypter provided by the OpenSSL library.
<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>.
|