Create a VPN in Packet Tracer
This is a brief “Sample configuration”, to create a VPN in the Packet tracer v5.3 Step 1: Add two routers 2811 Step 2: Here are the configuration files.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
hostname Left ! ! ! ! ! ! ! ! crypto isakmp policy 5 encr 3des authentication pre-share group 2 lifetime 72000 ! crypto isakmp key cisco address 10.0.0.2 ! ! crypto ipsec transform-set STRONG esp-3des esp-sha-hmac ! crypto map CISCO 10 ipsec-isakmp set peer 10.0.0.2 set pfs group2 set transform-set STRONG match address 101 ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 10.0.0.1 255.255.255.0 duplex auto speed auto crypto map CISCO ! interface FastEthernet0/1 ip address 192.168.0.1 255.255.255.0 duplex auto speed auto ! interface Vlan1 no ip address shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 10.0.0.0 ip route 192.168.2.0 255.255.255.0 10.0.0.0 ! ! access-list 101 permit ip 192.168.0.0 0.0.0.255 192.168.2.0 0.0.0.255 ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end |
And the Second Configuration :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
hostname Right ! ! ! ! ! ! ! ! crypto isakmp policy 5 encr 3des authentication pre-share group 2 lifetime 72000 ! crypto isakmp key cisco address 10.0.0.1 ! ! crypto ipsec transform-set STRONG esp-3des esp-sha-hmac ! crypto map Cisco 10 ipsec-isakmp set peer 10.0.0.1 set pfs group2 set transform-set STRONG match address 101 ! ! ! ! ! ! ! ! ! interface FastEthernet0/0 ip address 10.0.0.2 255.255.255.0 duplex auto speed auto crypto map Cisco ! interface FastEthernet0/1 ip address 192.168.2.1 255.255.255.0 duplex auto speed auto ! interface Vlan1 no ip address shutdown ! ip classless ip route 0.0.0.0 0.0.0.0 10.0.0.0 ip route 192.168.0.0 255.255.255.0 10.0.0.0 ! ! access-list 101 permit ip 192.168.2.0 0.0.0.255 192.168.0.0 0.0.0.255 ! ! ! ! ! line con 0 line vty 0 4 login ! ! ! end |
This works perfectly, and it is a good start for someone who wants to create a VPN on Packet tracer. […]
Also tagged Packet Tracer, VPN