]> git.ipfire.org Git - thirdparty/strongswan.git/blob - testing/tests/protoport-pass/description.txt
- import of strongswan-2.7.0
[thirdparty/strongswan.git] / testing / tests / protoport-pass / description.txt
1 The roadwarrior <b>carol</b> sets up a connection to gateway <b>moon</b>.
2 Using the <b>left|rightprotoport</b> selectors, the IPsec tunnel is
3 restricted to the ICMP protocol. Upon the successful establishment of the
4 IPsec tunnel, <b>firewall=yes</b> automatically inserts iptables-based
5 firewall rules that let pass the tunneled ICMP traffic. In order to test
6 both tunnel and firewall, <b>carol</b> pings the client <b>alice</b> behind
7 the gateway <b>moon</b> as well as the inner interface of the gateway.
8 For the latter ping <b>lefthostaccess=yes</b> is required.
9 <p>
10 By default, the native IPsec stack of the Linux 2.6 kernel transmits
11 protocols and ports not covered by any IPsec SA in the clear. Thus by
12 selectively opening the firewalls, <b>carol</b> sets up an SSH session to
13 <b>alice</b> that is not going through the tunnel.