Advertisement
Guest User

Untitled

a guest
Mar 13th, 2015
505
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. interfaces {
  2. st0 {
  3. unit 3 {
  4. description "IPv4 tunnel to c2821";
  5. family inet {
  6. mtu 1420;
  7. address 172.25.144.243/31;
  8. }
  9. }
  10. }
  11. }
  12. security {
  13. ike {
  14. proposal ike-proposal-j2c-1 {
  15. authentication-method pre-shared-keys;
  16. dh-group group5;
  17. authentication-algorithm sha-256;
  18. encryption-algorithm aes-256-cbc;
  19. lifetime-seconds 28800;
  20. }
  21. policy ike-policy-j2c-1 {
  22. mode main;
  23. proposals ike-proposal-j2c-1;
  24. pre-shared-key ascii-text "SECRET-DATA"; ## SECRET-DATA
  25. }
  26. gateway ike-gateway-j2c-1 {
  27. ike-policy ike-policy-j2c-1;
  28. address 81.134.x.y;
  29. no-nat-traversal;
  30. local-identity hostname srx110c2821;
  31. external-interface at-1/0/0.0;
  32. }
  33. }
  34. ipsec {
  35. proposal ipsec-proposal-j2c-1 {
  36. protocol esp;
  37. authentication-algorithm hmac-sha-256-128;
  38. encryption-algorithm aes-256-cbc;
  39. lifetime-seconds 3600;
  40. lifetime-kilobytes 4608000;
  41. }
  42. policy ipsec-policy-j2c-1 {
  43. proposals ipsec-proposal-j2c-1;
  44. }
  45. vpn ipsec-vpn-j2c-1 {
  46. bind-interface st0.3;
  47. ike {
  48. gateway ike-gateway-j2c-1;
  49. ipsec-policy ipsec-policy-j2c-1;
  50. }
  51. establish-tunnels immediately;
  52. }
  53. }
  54. }
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67. crypto keyring j2c-keyring
  68. pre-shared-key address 0.0.0.0 0.0.0.0 key SECRET-DATA
  69. !
  70. crypto isakmp policy 1
  71. encr aes 256
  72. hash sha256
  73. authentication pre-share
  74. group 5
  75. crypto isakmp profile j2c-1
  76. keyring j2c-keyring
  77. match identity user-fqdn srx110c2821
  78. initiate mode aggressive
  79. !
  80. !
  81. crypto ipsec transform-set ESP_AES256 esp-aes 256 esp-sha256-hmac
  82. !
  83. crypto ipsec profile j2c-1
  84. set transform-set ESP_AES256
  85. set isakmp-profile j2c-1
  86. !
  87. !
  88. !
  89. !
  90. !
  91. !
  92. !
  93. interface Tunnel0
  94. description IPv4 tunnel to srx110
  95. ip address 172.25.144.242 255.255.255.254
  96. ip mtu 1420
  97. tunnel source Dialer0
  98. tunnel mode ipsec ipv4
  99. tunnel protection ipsec profile j2c-1
  100. !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement