Cisco router VPN configuration statement

Source: Internet
Author: User
Tags hmac

The VPN configuration of the Cisco router is not important for network security, but also makes the user more convenient during use. In this experiment, we use the Cisco 2600 router and the Cisco router VPN configuration to implement the blue campus. The networks between the first branch and the second branch are interconnected. In order to be close to practicality, the ISP is still simulated through the Cisco 3640 in the middle. Through the introduction in the basic part of the network, you should have a certain understanding of the VPN routing technology, there are two main aspects in the implementation of VPN: the topology of VPN Tunnel and IPSec Encryption is as follows:

 
 
  1. Cisco 2600 with GRE Tunnel   
  2. Current configuration  
  3. !  
  4. version 12.0  
  5. sevice timestamps debug uptime  
  6. sevice timestamps log uptime  
  7. sevice password-encryption  
  8. !  
  9. hostname bluestudy1  
  10. !enable passsword cisco!  
  11. memory-size iomem 25  
  12. ip subnet-zero  
  13. no ip domain-lookup  
  14. !  
  15. interface Tunnel0  
  16. ip address 172.16.101.1 255.255.255.0  
  17. no ip directed-broadcast  
  18. ip mtu 1467  
  19. tunnel sourece 199.1.1.2  
  20. tunnel destination 199.1.2.2  
  21. !  
  22. interface serial0/0  
  23. no ip address  
  24. no ip directed-broadcast  
  25. encapsulation frame-relay  
  26. no ip mroute-cache  
  27. frame-relay lmi-type ansi  
  28. !interface serial0/0.1 point-to-point  
  29. description connected to internet  
  30. ip address 199.1.1.2 255.255.255.248  
  31. no ip directed-broadcast  
  32. ip nat outside  
  33. no arp frame-relay  
  34. frame-relay interface-dlci 111  
  35. !  
  36. !  
  37. interface ethernet0/0  
  38. ip address 172.16.1.1 255.255.255.0  
  39. no ip directed-broadcast  
  40. ip nat inside  
  41. !  
  42. router eigrp 100  
  43. network 172.16.0.0  
  44. !  
  45. router rip  
  46. version 2  
  47. network 172.16.0.0  
  48. no auto-summary  
  49. !  
  50. ip nat pool bluestudy 199.1.1.3 199.1.1.10 netmask 255.255.255.248  
  51. ip nat inside sourece list 2 pool bluestudy overload  
  52. ip nat inside sourece static 172.16.1.3 199.1.1.5  
  53. ip classless  
  54. ip route 0.0.0.0 0.0.0.0 srial0/0.1  
  55. ip http server  
  56. !  
  57. access-list 2 permit 172.16.1.0 0.0.0.255  
  58. snmp-server community public RO  
  59. !  
  60. line con 0  
  61. exec-timeout 0 0  
  62. password cisco  
  63. login  
  64. transport input none  
  65. line aux 0  
  66. line vty 0 4  
  67. password cisco  
  68. login  
  69. !  
  70. end  
  71. Cisco 2600 Configuration with IPSec   
  72. Current configuration  
  73. !  
  74. version 12.0  
  75. sevice timestamps debug uptime  
  76. sevice timestamps log uptime  
  77. sevice password-encryption  
  78. !  
  79. hostname bluestudy1  
  80. !  
  81. enable passsword cisco  
  82. !  
  83. memory-size iomem 25  
  84. ip subnet-zero  
  85. no ip domain-lookup  
  86. !  
  87. crypto isakmp key policy 1  
  88. authentication pre-share  
  89. group 2  
  90. crypto isakmp key slurpee-machine address 172.16.101.2  
  91. !  
  92. crypto ipsec transform-set test ah-sha-hmac esp-des esp-sha-hmac  
  93. !  
  94. set transform-set test  
  95. !  
  96. crypto map bluestudy 10 ipsec-isakmp  
  97. set peer 172.16.101.2  
  98. set transform-set test  
  99. match address 101  
  100. !  
  101. interface Tunnel0  
  102. ip address 172.16.101.1 255.255.255.0  
  103. no ip directed-broadcast  
  104. ip mtu 1467  
  105. login  
  106. !  
  107. end  

The above is a comprehensive summary of the Cisco router VPN configuration statement. I hope you will have a deeper understanding of the Cisco router VPN configuration after reading it, to ensure our network security.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.