added ikev2/net2net-pubkey scenario
[strongswan.git] / testing / tests / ikev2 / net2net-pubkey / hosts / moon / etc / ipsec.conf
1 # /etc/ipsec.conf - strongSwan IPsec configuration file
2
3 config setup
4         plutostart=no
5
6 conn %default
7         ikelifetime=60m
8         keylife=20m
9         rekeymargin=3m
10         keyingtries=1
11         keyexchange=ikev2
12         
13 conn net-net
14         left=PH_IP_MOON
15         leftsubnet=10.1.0.0/16
16         leftid=@moon.strongswan.org
17         leftrsasigkey=moonPub.der
18         leftauth=pubkey
19         leftfirewall=yes
20         right=PH_IP_SUN
21         rightsubnet=10.2.0.0/16
22         rightid=@sun.strongswan.org
23         rightrsasigkey=sunPub.der
24         rightauth=pubkey
25         auto=add