...
Define the Networks
Code Block object-group network Remote_VPN network-object 10.10.10.0 255.255.255.0 network-object 10.20.20.0 255.255.255.0 object-group network Remote_Internal network-object 172.16.1.0 255.255.255.0 network-object 172.16.2.0 255.255.255.0 network-object 172.16.3.0 255.255.255.0 network-object 172.16.4.0 255.255.255.0 network-object 172.18.0.0 255.255.0.0 object-group network Remote_Combined group-object Remote_VPN group-object Remote_Internal
Create the Crypto Map ACL
- Create the No-Nat ACL (Networks/hosts to which the packets should not be changed)
- Apply the No-NAT
- Create a Transform set
- Create the Crypto Map
- Enable isakmp on interface
- Create isakmp policies
- Create policy for Tunnel-Group (Site-Site hosts)
- Apply Tunnel-Group and Attributes
...
Code Block access-list outside_cryptomap_1 extended permit
...
ip INTERNAL_NETWORK 255.255.255.0 object-group
...
Remote_Combined
Create the No-Nat ACL (Networks/hosts to which the packets should not be changed)
Code Block access-list VPNNONAT extended permit
...
ip INTERNAL_NETWORK 255.255.255.0 object-group
...
Remote_Combined
Apply the No-NAT
Code Block nat (inside) 0 access-list VPNNONAT
Create a Transform set
Code Block crypto ipsec transform-set ESP-AES-256-SHA esp-aes-256 esp-sha-hmac
...
Create the Crypto Map
Code Block crypto map MELONGCryptoMaps 1 match address outside_cryptomap_1
...
crypto map MELONGCryptoMaps 1 set peer
...
1.
...
1.
...
1.
...
1 crypto map MELONGCryptoMaps 1 set transform-set ESP-AES-256-SHA
...
crypto map MELONGCryptoMaps
...
interface outside
Enable isakmp on interface
Code Block crypto isakmp enable outside
...
Create isakmp
...
policies (Note, the policy number is for priority. The highest number first, and then tries lower policies after)
Code Block crypto isakmp policy 50 authentication pre-share encryption aes-256 hash sha group 2 lifetime 86400
Create policy for Tunnel-Group (Site-Site hosts)
Code Block group-policy Site2Site internal group-policy Site2Site attributes vpn-tunnel-protocol IPSec l2tp-
...
ipsec
Apply Tunnel-Group and Attributes
Code Block tunnel-group
...
1.
...
1.
...
1.
...
1 type ipsec-l2l
...
tunnel-group
...
1.
...
1.
...
1.
...
1 general-attributes
...
default-group-policy Site2Site
...
tunnel-group
...
1.
...
1.
...
1.
...
1 ipsec-attributes
...
pre-shared-key
...
PASSWORD
Configure Split-DNS Resolution
...