IPSEC (IKEv2) Anyconnect VPN

Does anyone have a good resource for setting this up successfully in a lab environment? I’m able to do SSL VPN, and get an inside IP assigned (as expected), but I can’t seem to do it with IKEv2.

Most guides and videos I’m finding on IKEv2 are referencing site to site, and not Anyconnect. My attempts so far end up with me getting an error of “login failed” or another one I can’t quite remember at the moment, but was something like “login method unauthorized” or something similar.

I really need to get this working, as I need to deploy it in production in a couple of weeks.

Relevant info:

Cisco ASAv with latest code

Latest Anyconnect package (device and client machine)

If anyone has a decent guide or other resource, I’d love to dig in. I’ve been digging through everything I can find for the last couple of days with not much for results.

Check out this link. You essentially build what would be a dynamic site to site vpn but associate it with client services.
AnyConnect Over IKEv2 to ASA with AAA and Certificate Authentication - Cisco

Um… Anyconnect is a SSL remote access (RA) VPN, no IKE

IPsec site to site (L2L) and RA use IKE for phase 1

I have a question, Is it really true that ISPs can still track your activity even if I use my VPN? My school is cracking down on VPNs and I think by, constantly spying on my internet activity, it is breaching my privacy, and besides that one of my teacher’s are threatening to turn off our connection to sites. How is this even possible and how can I get around this?

That’s the same link TAC will give you. Also this one:

AnyConnect supports IKEv2 RA VPN. There are just few use cases instead of SSL VPN.

Can they still track? Well they know what the destination of your encrypted traffic is, you must tell them that. You likely are leaking some info through DNS as well.

You are choosing to use your schools bandwidth. I don’t think you have a reasonable expectation of privacy here.

How is blocking sites possible? A firewall.

Not helping you get around it. Get back to your Geometry or ill see you in detention mister.

I’ve looked through this, but will probably reset the config and try again with it step by step today. Thanks!

Scratch, thanks again for posting this. I went through it step by step after resetting my configs, and realized the (at least one) crucial mistake I was making. I wasn’t manually adding the XML profile to my client machine. Amazing how it works when all the pieces are where they’re supposed to be.

I’m now able to connect as expected over IPSec and get handed an inside IP. Now to reconfigure my whole lab and get it on it’s own IP space separate from my house network and get it all (router, switch, ASAv, WLCv, ISE) working again, lol.

If you have SMARTnet contact a support engineer.

Gotcha, I never looked back from SSL, I was under the impression Cisco deprecated it for RA VPN.

Happy to learn!

Good choice. Too many hotels, airports, wifi points, foreign countries etc, have issues with ike based vpns. The SSL vpn just blasts through all of those.

Lol this sub makes me shake my head sometimes, I get why my top level comment was down voted, it appears incorrect and I don’t want people to get bad info… But why the second comment admitting I could have incorrect info and giving my personal experience on SSL vs IPSec RA VPN?

Not like a ton of other people are jumping in with example configuration for IPsec via AnyConnect.

I don’t collect internet points so it doesn’t matter to me, but it seems like some folks enjoy just bashing on others for no real reason. Doesn’t make for an open community with range of experience and expression.

There are always the downvotes… no idea why!

Fuzzing algorithm shows false up and downvotes to prevent analysis of reddits anti-botting techniques.