ipsec.conf 350 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 nat-t
  10. left=%defaultroute
  11. leftcert=venusCert.pem
  12. leftid=@venus.strongswan.org
  13. leftfirewall=yes
  14. right=PH_IP_SUN
  15. rightid=@sun.strongswan.org
  16. rightsubnet=10.2.0.0/16
  17. auto=add