ipsec.conf 351 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=ikev1
  9. conn nat-t
  10. left=%defaultroute
  11. leftcert=aliceCert.pem
  12. leftid=alice@strongswan.org
  13. leftfirewall=yes
  14. right=PH_IP_SUN
  15. rightid=bob@strongswan.org
  16. rightsubnet=PH_IP_BOB/32
  17. auto=add