Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. !
  2. version 12.4
  3. service timestamps debug datetime msec
  4. service timestamps log datetime msec
  5. no service password-encryption
  6. !
  7. hostname R3
  8. !
  9. boot-start-marker
  10. boot-end-marker
  11. !
  12. !
  13. no aaa new-model
  14. no ip icmp rate-limit unreachable
  15. !
  16. !
  17. ip cef
  18. no ip domain lookup
  19. !
  20. !
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. !
  28. !
  29. !
  30. !
  31. !
  32. !
  33. !
  34. !
  35. !
  36. !
  37. ip tcp synwait-time 5
  38. !
  39. !
  40. crypto isakmp policy 1
  41. encr 3des
  42. authentication pre-share
  43. group 2
  44. crypto isakmp key cisco@123 address 100.100.100.101
  45. !
  46. !
  47. crypto ipsec transform-set MY-SET esp-aes esp-md5-hmac
  48. !
  49. crypto map IPSEC-SITE-TO-SITE-VPN 10 ipsec-isakmp
  50. set peer 100.100.100.101
  51. set transform-set MY-SET
  52. match address VPN-TRAFFIC
  53. !
  54. !
  55. !
  56. !
  57. interface FastEthernet0/0
  58. ip address 192.168.10.1 255.255.255.0
  59. ip nat inside
  60. ip virtual-reassembly
  61. duplex half
  62. !
  63. interface FastEthernet1/0
  64. ip address 100.100.100.100 255.255.255.248
  65. ip nat outside
  66. ip virtual-reassembly
  67. duplex half
  68. crypto map IPSEC-SITE-TO-SITE-VPN
  69. !
  70. ip route 0.0.0.0 0.0.0.0 200.200.200.200
  71. ip route 0.0.0.0 0.0.0.0 100.100.100.101
  72. !
  73. no ip http server
  74. no ip http secure-server
  75. !
  76. ip nat inside source list 1 interface FastEthernet1/0 overload
  77. ip nat inside source list 101 interface FastEthernet1/0 overload
  78. ip nat inside source static tcp 192.168.10.2 4569 100.100.100.100 4569 extendable
  79. ip nat inside source static tcp 192.168.10.2 5060 100.100.100.100 5060 extendable
  80. ip nat inside source static tcp 192.168.10.2 5061 100.100.100.100 5061 extendable
  81. !
  82. !
  83. ip access-list extended VPN-TRAFFIC
  84. permit ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
  85. access-list 101 deny ip 192.168.10.0 0.0.0.255 192.168.20.0 0.0.0.255
  86. access-list 101 permit ip 192.168.10.0 0.0.0.255 any
  87. no cdp log mismatch duplex
  88. !
  89. !
  90. !
  91. !
  92. control-plane
  93. !
  94. !
  95. !
  96. !
  97. !
  98. !
  99. gatekeeper
  100. shutdown
  101. !
  102. !
  103. line con 0
  104. exec-timeout 0 0
  105. privilege level 15
  106. logging synchronous
  107. stopbits 1
  108. line aux 0
  109. exec-timeout 0 0
  110. privilege level 15
  111. logging synchronous
  112. stopbits 1
  113. line vty 0 4
  114. login
  115. !
  116. !
  117. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement