added p2pnat/medsrv-psk scenario

This commit is contained in:
Andreas Steffen
2007-11-26 00:25:22 +00:00
parent 4c125ea26d
commit 545ed7dde0
13 changed files with 342 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
# /etc/ipsec.conf - strongSwan IPsec configuration file
config setup
crlcheckinterval=180
strictcrlpolicy=no
plutostart=no
conn %default
ikelifetime=60m
keylife=20m
rekeymargin=3m
keyingtries=1
keyexchange=ikev2
mobike=no
dpdaction=restart
dpddelay=60s
left=%defaultroute
leftfirewall=yes
conn medsrv
[email protected]
right=PH_IP_CAROL
[email protected]
authby=psk
p2p_mediation=yes
auto=add
conn p2p
leftcert=bobCert.pem
[email protected]
right=%any
[email protected]
rightsubnet=PH_IP_ALICE/32
p2p_mediated_by=medsrv
[email protected]
auto=start
@@ -0,0 +1,7 @@
# /etc/ipsec.secrets - strongSwan IPsec secrets file
: RSA bobKey.pem
# secret used for mediation connection
[email protected] : PSK "ZVm3FLOiweS1ywUDpR/L9FvpwNYp9svt"