mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2024-12-18 10:56:09 +00:00
Create DMVPN-hub-configuration.txt
This commit is contained in:
parent
9444d637d7
commit
a6286e28f5
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 New Issue
Block a user