Advertisement
Guest User

Untitled

a guest
Oct 2nd, 2017
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. version 2.0
  2. config setup
  3. nat_traversal=yes
  4. virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/16,%v4:172.16.0.0/12
  5. oe=off
  6. protostack=netkey
  7. #plutodebug=all
  8. #klipsdebug=all
  9.  
  10. conn L2TP-PSK-NAT
  11. rightsubnet=vhost:%priv
  12. also=L2TP-PSK-noNAT
  13.  
  14. conn L2TP-PSK-noNAT
  15. authby=secret
  16. pfs=no
  17. auto=add
  18. keyingtries=3
  19. rekey=no
  20. ikelifetime=8h
  21. keylife=1h
  22. #type=tunnel
  23. left=208.52.140.1
  24. leftprotoport=17/1701
  25. right=%any
  26. rightprotoport=17/%any
  27.  
  28. conn BONNIELANE
  29. authby=rsasig
  30. type=tunnel
  31. pfs=no
  32. auto=add
  33. #keyingtries=3
  34. keyingtries=%forever
  35. rekey=no
  36. #ikeylifetime=8h
  37. #type=tunnel
  38. left=208.52.140.1
  39. leftsubnet=10.0.0.0/8
  40. #leftid=@ipsec.athenshousing.org
  41. leftid="C=US, ST=GA, L=Athens, O=Athens Housing Authority, OU=Central Office IT, CN=ipsec.athenshousing.org, E=root@athenshousing.org"
  42. leftrsasigkey=%cert
  43. leftcert=/etc/ipsec.d/certs/ipsec.pem
  44. rightrsasigkey=%cert
  45. rightcert=/etc/ipsec.d/certs/bonnielane.pem
  46. #rightid=@bonnielane.athenshousing.org
  47. right=%any
  48. rightid="C=US, ST=GA, L=Athens, O=Athens Housing Authority, OU=Bonnie Lane Router, CN=bonnielane.athenshousing.org, E=root@athenshousing.org"
  49. #rightprotoport=17/500
  50. #leftprotoport=17/500
  51. rightsubnet=192.168.77.0/24
  52. #leftid="C=US, ST=GA, L=Athens, O=Athens Housing Authority, OU=Central IT, CN=Main Office Router/emailAddress=root@athenshousing.org"
  53. #rightsubnet=192.168.77.0/24
  54. #rightid="C=US, ST=GA, L=Athens, O=Athens Housing Authority, OU=Bonnie Lane Router, CN=bonnielane.athenshousing.org/emailAddress=root@athenshousing.org"
  55. ikelifetime=3h
  56. keylife=2h
  57. dpddelay=5
  58. dpdtimeout=15
  59. dpdaction=restart
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement