ipsec.conf 344 B

1234567891011121314151617181920
  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 mobike
  10. left=PH_IP_SUN
  11. leftcert=sunCert.pem
  12. leftid=@sun.strongswan.org
  13. leftsubnet=10.2.0.0/16
  14. right=%any
  15. rightsourceip=10.3.0.3
  16. rightid=alice@strongswan.org
  17. auto=add