tkm.conf 640 B

1234567891011121314151617181920212223
  1. <tkmconfig>
  2. <local_identity id="1">
  3. <identity>moon.strongswan.org</identity>
  4. <certificate>moonCert.pem</certificate>
  5. </local_identity>
  6. <policy id="1">
  7. <mode>tunnel</mode>
  8. <local>
  9. <identity_id>1</identity_id>
  10. <ip>192.168.0.1</ip>
  11. <net mask="16">10.1.0.0</net>
  12. </local>
  13. <remote>
  14. <identity>sun.strongswan.org</identity>
  15. <ip>192.168.0.2</ip>
  16. <net mask="16">10.2.0.0</net>
  17. </remote>
  18. <lifetime>
  19. <soft>30</soft>
  20. <hard>60</hard>
  21. </lifetime>
  22. </policy>
  23. </tkmconfig>