added ikev2/nat-two-rw-mark-in-out scenario

This commit is contained in:
Andreas Steffen
2010-07-09 09:36:03 +02:00
parent bcf608c848
commit 9f94906815
11 changed files with 187 additions and 0 deletions
@@ -0,0 +1,37 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
crlcheckinterval=180
strictcrlpolicy=no
plutostart=no
charondebug="knl 2"
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
conn alice
[email protected]
mark_in=10/0xffffffff
mark_out=11/0xffffffff
also=sun
auto=add
conn venus
[email protected]
mark_in=20 #0xffffffff is used by default
mark_out=21 #0xffffffff is used by default
also=sun
auto=add
conn sun
left=PH_IP_SUN
leftcert=sunCert.pem
[email protected]
leftsubnet=10.2.0.0/16
leftfirewall=yes
right=%any
rightsubnet=0.0.0.0/0