updated ikev1/xauth-psk-mode-config scenario to support xauth plugin

This commit is contained in:
Andreas Steffen
2010-05-18 22:48:37 +02:00
parent ab0ecb7dd9
commit 17adc8d074
14 changed files with 0 additions and 0 deletions
@@ -0,0 +1,24 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutodebug=control
crlcheckinterval=180
strictcrlpolicy=no
charonstart=no
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
authby=xauthpsk
conn home
left=PH_IP_CAROL
[email protected]
leftsourceip=%modeconfig
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
auto=add
@@ -0,0 +1,9 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
[email protected] @dave.strongswan.org : PSK 0sqc1FhzwoUSbpjYUSp8I6qUdxDacxLCTq
[email protected] @moon.strongswan.org : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
[email protected] @sun.strongswan.org : PSK 0sR64pR6y0S5d6d8rNhUIM7aPbdjND4st5
: XAUTH carol "4iChxLT3"
@@ -0,0 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
pluto {
load = sha1 sha2 md5 aes des hmac gmp random
}
# pluto uses optimized DH exponent sizes (RFC 3526)
libstrongswan {
dh_exponent_ansi_x9_42 = no
}
@@ -0,0 +1,24 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutodebug=control
crlcheckinterval=180
strictcrlpolicy=no
charonstart=no
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
authby=xauthpsk
conn home
left=PH_IP_DAVE
[email protected]
leftsourceip=%modeconfig
leftfirewall=yes
right=PH_IP_MOON
[email protected]
rightsubnet=10.1.0.0/16
auto=add
@@ -0,0 +1,5 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
: PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
: XAUTH dave "ryftzG4A"
@@ -0,0 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
pluto {
load = sha1 sha2 md5 aes des hmac gmp random
}
# pluto uses optimized DH exponent sizes (RFC 3526)
libstrongswan {
dh_exponent_ansi_x9_42 = no
}
@@ -0,0 +1,29 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
plutodebug=control
crlcheckinterval=180
strictcrlpolicy=no
charonstart=no
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
authby=xauthpsk
xauth=server
left=PH_IP_MOON
[email protected]
leftsubnet=10.1.0.0/16
leftfirewall=yes
right=%any
auto=add
conn carol
[email protected]
rightsourceip=PH_IP_CAROL1
conn dave
[email protected]
rightsourceip=PH_IP_DAVE1
@@ -0,0 +1,7 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
@moon.strongswan.org : PSK 0sv+NkxY9LLZvwj4qCC2o/gGrWDF2d21jL
: XAUTH carol "4iChxLT3"
: XAUTH dave "ryftzG4A"
@@ -0,0 +1,11 @@
# /etc/strongswan.conf - strongSwan configuration file
pluto {
load = sha1 sha2 md5 aes des hmac gmp random
}
# pluto uses optimized DH exponent sizes (RFC 3526)
libstrongswan {
dh_exponent_ansi_x9_42 = no
}