the ikev2/nat-two-rw-mark and ikev2/rw-mark-in-out scenarios use the PLUTO_MARK_IN and PLUTO_ESP_ENC variables in the mark_update script

This commit is contained in:
Andreas Steffen
2010-07-17 16:32:47 +02:00
parent 16c97c8e59
commit d2d7ed9227
21 changed files with 1262 additions and 58 deletions
@@ -0,0 +1,37 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
crlcheckinterval=180
strictcrlpolicy=no
plutostart=no
charondebug="knl 2, chd 3"
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
leftupdown=/etc/mark_updown
right=%any
rightsubnet=0.0.0.0/0