crypto ikev2 enable Outside
crypto ikev2 policy 10
encryption aes-256 aes-192 aes 3des
integrity sha256 sha md5
group 14 5
prf sha256 sha md5
lifetime seconds 86400
!
tunnel-group 202.106.1.1 type ipsec-l2l
tunnel-group 202.106.1.1 ipsec-attributes
ikev2 remote-authentication pre-shared-key Fortinet123#
ikev2 local-authentication pre-shared-key Fortinet123#
!
crypto ipsec ikev2 ipsec-proposal MY_IPsec_Proposal
protocol esp encryption aes-256 aes-192 aes 3des
protocol esp integrity sha-256 sha-1 md5
crypto ipsec profile MY_IPsec_Profile
set ikev2 ipsec-proposal MY_IPsec_Proposal
set pfs group5
interface Tunnel0
nameif VPN
ip address 1.1.1.2 255.255.255.0
tunnel source interface Outside
tunnel destination 202.106.1.1
tunnel mode ipsec ipv4
tunnel protection ipsec profile MY_IPsec_Pro
!
management-access Inside //为了可以让Inside接口可以被ping通。
!
route VPN 192.168.111.0 255.255.255.0 1.1.1.1
ASA-FW(config)# show version
Cisco Adaptive Security Appliance Software Version 9.9(2)
Firepower Extensible Operating System Version 2.3(1.84)
Device Manager Version 7.9(2)
Compiled on Sun 25-Mar-18 17:32 PDT by builders
System image file is "boot:/asa992-smp-k8.bin"
Config file at boot was "startup-config"
----Cisco_ASA防火墙的配置全部完成----