ipsec.conf 405 B

123456789101112131415161718192021222324
  1. # /etc/ipsec.conf - strongSwan IPsec configuration file
  2. config setup
  3. conn %default
  4. ikelifetime=60m
  5. keylife=20m
  6. rekeymargin=3m
  7. keyingtries=1
  8. keyexchange=ikev1
  9. conn home
  10. left=PH_IP_CAROL
  11. leftid=PH_IP_CAROL
  12. leftsourceip=%config
  13. leftauth=psk
  14. leftauth2=xauth
  15. leftfirewall=yes
  16. right=PH_IP_MOON
  17. rightid=@moon.strongswan.org
  18. rightsubnet=10.1.0.0/16
  19. rightauth=psk
  20. xauth_identity=carol
  21. auto=add