Guest User

Untitled

a guest
Jan 22nd, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.89 KB | None | 0 0
  1. Current configuration : 1678 bytes
  2. !
  3. version 12.4
  4. no service pad
  5. service timestamps debug datetime msec
  6. service timestamps log datetime msec
  7. no service password-encryption
  8. !
  9. hostname R1
  10. !
  11. boot-start-marker
  12. boot-end-marker
  13. !
  14. !
  15. no aaa new-model
  16. !
  17. !
  18. dot11 syslog
  19. ip cef
  20. !
  21. !
  22. !
  23. !
  24. !
  25. username {USERNAME} privilege 15 secret 5 {PASSWORD}
  26. username {USERNAME} privilege 15 secret 5 {PASSWORD}
  27. !
  28. !
  29. crypto isakmp policy 10
  30. encr aes 256
  31. authentication pre-share
  32. group 5
  33. crypto isakmp key {KEY} address {ISP2 PUBLIC ADDRESS}
  34. !
  35. !
  36. crypto ipsec transform-set R1->R2 esp-aes 256 esp-sha-hmac
  37. !
  38. crypto map CMAP 10 ipsec-isakmp
  39. set peer {ISP2 PUBLIC ADDRESS}
  40. set security-association lifetime seconds 86400
  41. set transform-set R1->R2
  42. set pfs group5
  43. match address 100
  44. !
  45. archive
  46. log config
  47. hidekeys
  48. !
  49. !
  50. ip ssh version 2
  51. !
  52. !
  53. !
  54. interface FastEthernet0
  55. !
  56. interface FastEthernet1
  57. !
  58. interface FastEthernet2
  59. !
  60. interface FastEthernet3
  61. !
  62. interface FastEthernet4
  63. ip address dhcp
  64. duplex auto
  65. speed auto
  66. crypto map CMAP
  67. !
  68. interface Dot11Radio0
  69. no ip address
  70. shutdown
  71. speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
  72. station-role root
  73. !
  74. interface Vlan1
  75. no ip address
  76. !
  77. ip forward-protocol nd
  78. !
  79. no ip http server
  80. no ip http secure-server
  81. !
  82. access-list 100 permit ip 192.168.1.0 0.0.0.255 192.168.0.0 0.0.0.255
  83. !
  84. !
  85. !
  86. control-plane
  87. !
  88. !
  89. line con 0
  90. exec-timeout 5 0
  91. login local
  92. no modem enable
  93. line aux 0
  94. exec-timeout 5 0
  95. login local
  96. line vty 0 4
  97. exec-timeout 5 0
  98. login local
  99. transport input ssh
  100. !
  101. scheduler max-task-time 5000
  102. end
  103.  
  104. Current configuration : 1573 bytes
  105. !
  106. version 12.4
  107. no service pad
  108. service timestamps debug datetime msec
  109. service timestamps log datetime msec
  110. no service password-encryption
  111. !
  112. hostname R2
  113. !
  114. boot-start-marker
  115. boot-end-marker
  116. !
  117. !
  118. no aaa new-model
  119. !
  120. !
  121. dot11 syslog
  122. ip cef
  123. !
  124. !
  125. !
  126. !
  127. !
  128. multilink bundle-name authenticated
  129. !
  130. !
  131. username {USERNAME} privilege 15 secret 5 {PASSWORD}
  132. !
  133. !
  134. crypto isakmp policy 10
  135. encr aes 256
  136. authentication pre-share
  137. group 5
  138. crypto isakmp key {KEY} address 0.0.0.0 0.0.0.0
  139. !
  140. !
  141. crypto ipsec transform-set R2->R1 esp-aes 256 esp-sha-hmac
  142. !
  143. crypto dynamic-map hq-vpn 10
  144. set security-association lifetime seconds 86400
  145. set transform-set R2->R1
  146. set pfs group5
  147. match address 100
  148. !
  149. !
  150. crypto map CMAP 1 ipsec-isakmp dynamic hq-vpn
  151. !
  152. archive
  153. log config
  154. hidekeys
  155. !
  156. !
  157. ip ssh version 2
  158. !
  159. !
  160. !
  161. interface FastEthernet0
  162. !
  163. interface FastEthernet1
  164. !
  165. interface FastEthernet2
  166. !
  167. interface FastEthernet3
  168. !
  169. interface FastEthernet4
  170. ip address dhcp
  171. duplex auto
  172. speed auto
  173. crypto map CMAP
  174. !
  175. interface Vlan1
  176. no ip address
  177. !
  178. ip forward-protocol nd
  179. !
  180. !
  181. no ip http server
  182. no ip http secure-server
  183. !
  184. access-list 100 permit ip 192.168.0.0 0.0.0.255 192.168.1.0 0.0.0.255
  185. !
  186. !
  187. !
  188. !
  189. control-plane
  190. !
  191. !
  192. line con 0
  193. exec-timeout 5 0
  194. login local
  195. no modem enable
  196. line aux 0
  197. exec-timeout 5 0
  198. login local
  199. line vty 0 4
  200. exec-timeout 5 0
  201. login local
  202. transport input ssh
  203. !
  204. scheduler max-task-time 5000
  205. end
Add Comment
Please, Sign In to add comment