testing: Add ikev2/mobike-virtual-ip-nat scenario

This tests moving from a public IP behind a NAT and back (with proper
changes of the UDP encapsulation).
This commit is contained in:
Tobias Brunner
2018-02-09 11:21:02 +01:00
parent 626e8a31d0
commit ad14f2084e
11 changed files with 213 additions and 0 deletions
@@ -0,0 +1,20 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn mobike
left=PH_IP_SUN
leftcert=sunCert.pem
[email protected]
leftsubnet=10.2.0.0/16
right=%any
rightsourceip=10.3.0.3
[email protected]
auto=add