Maipu IPSec configuration is having different command line
than other vendors.
Before looking in details of IPSec template, let’s take a
overview of IPSec working process -
IPSec working process –
IPSec works using IKE protocol (Internet Key Exchange).
IKE - When two devices communicate across the network to
form secure tunnel. Both Routers/devices will negotiate on set of protocols, they
are going to use for security, Encryption, Authentication and protection.
If both devices are using same set of protocols then only
secure tunnel will form and data communication will start from secure tunnel or
otherwise the secure tunnel will not be established.
In above discussion I used secure tunnel term, The secure
tunnel is IPSec tunnel.
IPSec stands for IP packets security.
IPSec is having two modes of communications in Network –
Transport and Tunnel Mode…
Some are well known types of VPN – Site to Site VPN, Easy
VPN, Point to Multipoint VPN.
VPN -stands for Virtual Private Network, VPN tunnel means creating a private tunnel in public network. IPSec protocols are used to secure VPN tunnel. Data transfer will happen securely from IPSec VPN.
IPSec VPN Establishment process –
- The Routers receives traffic considered "Intresting traffic" from LAN Network towards WAN for establishing a VPN connection.
- IKE Phase 1 Negotiated and Security Association (SA) established.
- IKE Phase 2 Negotiated and Security ASsociation (SA) established.
- Data Transmitted thru IPSec Tunnel
- Once Transmission is complete , Then IPSec tunnel torn down.
Configuration Steps for Maipu Router IPSec Configurations –
- Set up Ike Proposal [ For IKE Phase I ]
- Set up IPSec proposal[ For IKE Phase II ]
- Define interesting traffic - flow
- Set up crypto tunnel –include local wan interface
- Map flow to crypto tunnel
Maipu IPSec
Configuration Template –
crypto ike key
pplhkhqtodel address x.x.x.x
### Define Crypto key
####
### Define Crypto IKE
Phase 1 proposal ###
crypto ike proposal 1
encryption 3des
group group2
integrity sha1
lifetime 28800
exit
### Define Crypto IKE
Phase 2 proposal ###
crypto ipsec proposal
1
esp 3des
ah sha1
lifetime 28800
exit
### Create IPSec
Tunnel Interface ###
crypto tunnel t1
local interface f0
peer any
set authentication preshared
set ike proposal 1
set ipsec proposal 1
set auto-up
exit
### Create Interesting
traffic rule, like ACL. Match source and destination traffic ####
crypto policy p1
flow x.x.x.x x.x.x.x (local lan ip) x.x.x.x
x.x.x.x (remote lan) ip tunnel t1
crypto policy p2
flow x.x.x.x x.x.x.x (local lan ip) x.x.x.x
x.x.x.x (remote lan) ip tunnel t1
exit
ex:
crypto policy p1
flow 10.1.1.0 255.255.255.0 (local lan ip)
172.16.1.0 255.255.255.0 (remote lan) ip tunnel t1
crypto policy p2
flow 10.1.1.0 255.255.255.0 (local lan ip)
192.168.1.0 255.255.255.0 (remote lan) ip tunnel t1
exit
crypto policy p3
flow 10.1.1.0
255.255.255.0 (local lan ip) 10.1.1.0 255.255.255.0 (local lan ip ) ip permit
Hope this template will help you in IPSec configuration in
Maipu Routers.
Thanks for reading…
For feedback. Plz comment with Name and Mail ID..