added ikev2/net2net-psk-dscp2 DiffServ scenario

This commit is contained in:
Andreas Steffen
2010-07-09 11:55:01 +02:00
parent 9f94906815
commit f65e0dc80f
11 changed files with 165 additions and 0 deletions
@@ -0,0 +1,38 @@
# /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
mobike=no
conn dscp-be
leftid=@moon-be
rightid=@sun-be
mark=10
also=net-net
auto=add
conn dscp-ef
leftid=@moon-ef
rightid=@sun-ef
mark=20
also=net-net
auto=add
conn net-net
left=PH_IP_SUN
leftsubnet=10.2.0.0/16
leftfirewall=yes
leftauth=psk
right=PH_IP_MOON
rightsubnet=10.1.0.0/16
rightauth=psk
@@ -0,0 +1,7 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
@sun-be @sun-ef @moon-be @moon-ef : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
@@ -0,0 +1,6 @@
# /etc/strongswan.conf - strongSwan configuration file
charon {
load = curl aes des sha1 sha2 md5 pem pkcs1 gmp random x509 hmac xcbc stroke kernel-netlink socket-default updown
multiple_authentication = no
}