blob: 4ccc06aaf8ed7c67338ab9cb3b6056010bd005de (
plain)
1
2
3
4
5
6
7
8
9
|
The roadwarriors <b>carol</b> and <b>dave</b> set up a connection each
to gateway <b>moon</b>. The authentication is based on <b>raw public keys</b>
and IKEv2 key IDs. Gateway <b>moon</b> accepts all peers possessing a
public key a copy of which is stored in the <b>/etc/swanctl/pubkey</b> directory.
<p/>
Upon the successful establishment of the IPsec tunnels, the updown script
automatically inserts iptables-based firewall rules that let pass the tunneled traffic.
In order to test both tunnel and firewall, both <b>carol</b> and <b>dave</b> ping
the client <b>alice</b> behind the gateway <b>moon</b>.
|