PJO2

strongswan configuration

Feb 14th, 2020
635
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. localhost:~# cat /etc/strongswan.d/charon.conf
  2. # Options for the charon IKE daemon.
  3. charon {
  4. install_routes = no
  5. install_virtual_ip_on = ipsec0
  6. }
  7.  
  8. ---
  9. localhost:~# cat /etc/swanctl/swanctl.conf
  10. connections {
  11. flex {
  12. dpd_delay = 300
  13. local {
  14. auth = psk
  15. }
  16.  
  17. remote {
  18. id = hub.sclab.space
  19. auth = psk
  20. }
  21. children {
  22. flex {
  23. local_ts = 0.0.0.0/0
  24. remote_ts = 0.0.0.0/0
  25. esp_proposals = aes128-sha1
  26. # use mark for vti interfaces ...
  27. mark_in = 100
  28. mark_out = 100
  29. dpd_action = restart
  30. }
  31. }
  32. remote_addrs = 172.16.63.63
  33. version = 2
  34. proposals = aes256-sha512-modp2048
  35. vips = 0.0.0.0
  36. }
  37. }
  38. secrets {
  39. ike_flex {
  40. secret = csr-flex
  41. id_2 = hub.sclab.space
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment