ipsec.conf 325 B

12345678910111213141516171819
  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. conn nat-t
  9. left=%any
  10. leftcert=aliceCert.pem
  11. leftid=alice@strongswan.org
  12. leftfirewall=yes
  13. right=192.168.0.2
  14. rightid=@sun.strongswan.org
  15. rightsubnet=10.2.0.0/16
  16. auto=add