Advertisement
Guest User

Untitled

a guest
Aug 26th, 2015
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. connections {
  2. ipsec1 {
  3. remote_addrs = 192.168.3.1
  4. local_addrs = %any
  5. version = 1
  6. aggressive = no
  7. keyingtries = 3
  8. dpd_delay = 30
  9. dpd_timeout = 120
  10. rekey_time = 3600
  11. proposals = aes256-sha1-modp1536
  12. local_ipsec1 {
  13. auth = psk
  14. id = sun@strongswan.org
  15. }
  16. remote_ipsec1 {
  17. auth = psk
  18. id = moon@strongswan.org
  19. }
  20. children {
  21. ipsec1 {
  22. rekey_time = 3600
  23. esp_proposals = aes256-sha1
  24. local_ts = 192.168.5.0/24
  25. remote_ts = 192.168.4.0/24
  26. mark_in = 1
  27. mark_out = 1
  28. }
  29. }
  30. }
  31. }
  32.  
  33. secrets {
  34. ike_local_ipsec1 {
  35. secret = geheim
  36. id_local_ipsec1 = sun@strongswan.org
  37. }
  38. ike_remote_ipsec1 {
  39. secret = geheim
  40. id_remote_ipsec1 = moon@strongswan.org
  41. }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement