ipsec.conf 298 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. keyexchange=ikev2
  9. authby=secret
  10. conn nat-t
  11. left=PH_IP_SUN
  12. leftsubnet=10.2.0.0/16
  13. leftfirewall=yes
  14. right=%any
  15. rightsubnet=10.1.0.0/16
  16. auto=add