ipsec.conf 400 B

1234567891011121314151617181920212223
  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. leftcert=carolCert.pem
  12. leftid=carol@strongswan.org
  13. leftauth=pubkey
  14. leftauth2=xauth
  15. leftfirewall=yes
  16. right=PH_IP_MOON
  17. rightsubnet=10.1.0.0/16
  18. rightid=@moon.strongswan.org
  19. rightauth=pubkey
  20. auto=add