mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-23 19:33:02 +00:00
Create DMVPN-hub-configuration.txt
This commit is contained in:
parent
9444d637d7
commit
a6286e28f5
1 changed files with 32 additions and 0 deletions
32
SCOR/DMVPN-hub-configuration.txt
Normal file
32
SCOR/DMVPN-hub-configuration.txt
Normal file
|
@ -0,0 +1,32 @@
|
|||
crypto isakmp policy 1
|
||||
encryption aes
|
||||
authentication pre-share
|
||||
group 14
|
||||
!
|
||||
! A dynamic ISAKMP key and IPsec profile
|
||||
crypto isakmp key supersecretkey address 0.0.0.0 crypto ipsec transform-set trans2 esp-aes esp-sha-hmac mode transport
|
||||
!
|
||||
crypto ipsec profile my_hub_vpn_profile
|
||||
set transform-set trans2
|
||||
!
|
||||
! The tunnel interface with NHRP Interface Tunnel0
|
||||
ip address 10.0.0.1 255.255.255.0
|
||||
ip nhrp authentication anothersupersecretkey
|
||||
ip nhrp map multicast dynamic
|
||||
ip nhrp network-id 99
|
||||
ip nhrp holdtime 300
|
||||
tunnel source GigabitEthernet0/0
|
||||
tunnel mode gre multipoint
|
||||
! This line must match on all nodes that want to use this mGRE tunnel.
|
||||
tunnel key 100000
|
||||
tunnel protection ipsec profile my_hub_vpn_profile
|
||||
!
|
||||
interface GigabitEthernet0/0
|
||||
ip address 172.16.0.1 255.255.255.0
|
||||
!
|
||||
interface GigabitEthernet0/1
|
||||
ip address 192.168.0.1 255.255.255.0
|
||||
!
|
||||
router eigrp 1
|
||||
network 10.0.0.0 0.0.0.255
|
||||
network 192.168.0.0 0.0.0.255
|
Loading…
Reference in a new issue