Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
324
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1.  
  2. !
  3. version 12.4
  4. service timestamps debug datetime msec
  5. service timestamps log datetime msec
  6. no service password-encryption
  7. !
  8. hostname R4
  9. !
  10. boot-start-marker
  11. boot-end-marker
  12. !
  13. !
  14. no aaa new-model
  15. no ip icmp rate-limit unreachable
  16. !
  17. !
  18. ip cef
  19. no ip domain lookup
  20. !
  21. !
  22. !
  23. !
  24. !
  25. !
  26. !
  27. !
  28. !
  29. !
  30. !
  31. !
  32. !
  33. !
  34. !
  35. !
  36. !
  37. !
  38. ip tcp synwait-time 5
  39. !
  40. !
  41. crypto isakmp policy 1
  42. encr 3des
  43. authentication pre-share
  44. group 2
  45. crypto isakmp key cisco@123 address 100.100.100.100
  46. !
  47. !
  48. crypto ipsec transform-set MY-SET esp-aes esp-md5-hmac
  49. !
  50. crypto map IPSEC-SITE-TO-SITE-VPN 10 ipsec-isakmp
  51. set peer 100.100.100.100
  52. set transform-set MY-SET
  53. match address VPN-TRAFFIC
  54. !
  55. !
  56. !
  57. !
  58. interface FastEthernet0/0
  59. ip address 192.168.20.1 255.255.255.0
  60. ip nat inside
  61. ip virtual-reassembly
  62. duplex half
  63. !
  64. interface FastEthernet1/0
  65. ip address 100.100.100.101 255.255.255.248
  66. ip nat outside
  67. ip virtual-reassembly
  68. duplex half
  69. crypto map IPSEC-SITE-TO-SITE-VPN
  70. !
  71. ip route 0.0.0.0 0.0.0.0 100.100.100.100
  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.20.2 4569 100.100.100.101 4569 extendable
  79. ip nat inside source static tcp 192.168.20.2 5060 100.100.100.101 5060 extendable
  80. ip nat inside source static tcp 192.168.20.2 5061 100.100.100.101 5061 extendable
  81. !
  82. !
  83. ip access-list extended VPN-TRAFFIC
  84. permit ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
  85. access-list 101 deny ip 192.168.20.0 0.0.0.255 192.168.10.0 0.0.0.255
  86. access-list 101 permit ip 192.168.20.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