ipsec.conf 376 B

12345678910111213141516171819202122
  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=ikev2
  9. conn home
  10. left=PH_IP_CAROL
  11. leftid=carol@strongswan.org
  12. leftfirewall=yes
  13. leftauth=eap
  14. eap_identity=carol
  15. right=PH_IP_MOON
  16. rightid=@moon.strongswan.org
  17. rightsubnet=10.1.0.0/16
  18. rightauth=pubkey
  19. auto=add