ipsec.conf 358 B

12345678910111213141516171819202122
  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 rw
  10. left=PH_IP_MOON
  11. leftid=@moon.strongswan.org
  12. leftsubnet=10.1.0.0/16
  13. leftauth=psk
  14. leftfirewall=yes
  15. right=%any
  16. rightsourceip=10.3.0.0/24
  17. rightauth=psk
  18. rightauth2=xauth
  19. auto=add