07-12-2023 01:43 AM
Hi,
I have Cisco ASA5545 and Anyconnect is configured and working. I need to create a new IPSEC ikev2 s2s VPN and when I configured it my AnyConnetct is stop working.
it stops working when I apply a new crypto map on interface outside:
crypto map outside_cryptomap interface outside
crypto map outside_cryptomap 1 match address outside_cryptomap
crypto map outside_cryptomap 1 set peer x.x.x.x
crypto map outside_cryptomap 1 set ikev2 ipsec-proposal AES
crypto map outside_cryptomap 1 set reverse-route
and then only new VPN is working.
if I remove and replay this AnyConnect is working again:
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP crypto map outside_map interface outside
So is there any way to apply multiple crypto maps to the outside interface?
Or can I combine these two crypto maps into one? or create new outside interface? what is your recommendation/best practice?
Best regards,
Ivan
Solved! Go to Solution.
07-12-2023 01:51 AM
You can apply only one crypto map per interface. you should use one of the following names:
crypto map outside_cryptomap 1 match address outside_cryptomap
crypto map outside_cryptomap 1 set peer x.x.x.x
crypto map outside_cryptomap 1 set ikev2 ipsec-proposal AES
crypto map outside_cryptomap 1 set reverse-route
crypto map outside_cryptomap 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_cryptomap interface outside
====================================
crypto map outside_map 1 match address outside_cryptomap
crypto map outside_map 1 set peer x.x.x.x
crypto map outside_map 1 set ikev2 ipsec-proposal AES
crypto map outside_map 1 set reverse-route
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
07-12-2023 01:51 AM
You can apply only one crypto map per interface. you should use one of the following names:
crypto map outside_cryptomap 1 match address outside_cryptomap
crypto map outside_cryptomap 1 set peer x.x.x.x
crypto map outside_cryptomap 1 set ikev2 ipsec-proposal AES
crypto map outside_cryptomap 1 set reverse-route
crypto map outside_cryptomap 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_cryptomap interface outside
====================================
crypto map outside_map 1 match address outside_cryptomap
crypto map outside_map 1 set peer x.x.x.x
crypto map outside_map 1 set ikev2 ipsec-proposal AES
crypto map outside_map 1 set reverse-route
crypto map outside_map 65535 ipsec-isakmp dynamic SYSTEM_DEFAULT_CRYPTO_MAP
crypto map outside_map interface outside
07-12-2023 01:52 AM
Let me know if it worked for you.
07-12-2023 02:07 AM
Thank you Jeet it is working.
07-12-2023 01:57 AM - edited 07-12-2023 02:10 AM
Never mind.
I confuse here.
07-12-2023 02:09 AM
hi, new issue for me. yes on mobile phone anyconnect was working since it use SSL but on PC didn't work because it was using IPSEC.
when I combine crypto map into one it is working on both.
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide