VPN not prompting for username and password when enabled on Meraki MX64W...?

Solved
JayBlackcreek
Here to help

VPN not prompting for username and password when enabled on Meraki MX64W...?

Hello there,


First time posting here!

 

I have enabled Client VPN on a Meraki MX64W. It has been given a hostname, configured a subnet, configured to use Umbrella to solve host names, create a shared secret, used Meraki Cloud Authentication and configured two users to be authorized for Client VPN. 


However, I create the VPN connection in Windows with the correct settings and hostname, etc. when I click on the VPN, a prompt to enter username and password never appears and then eventually shows an L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer. Windows is running 10 22H2.

 

Any ideas? Thanks in advance.

 

Jay

1 Accepted Solution
JayBlackcreek
Here to help

It turns out that the internet is actually being NATed because we are using a dynamic IP from the ISP as opposed to a static IP and it looks like we will have to use a static IP from the ISP to get the VPN to work.


Thanks everyone for your help.

View solution in original post

10 Replies 10
alemabrahao
Kind of a big deal
Kind of a big deal

Because you don't use Anyconnect instead of L2TP, it is much more stable and has more options.
 
You can also try generating the connection through that site.

 

https://www.ifm.net.nz/cookbooks/meraki-client-vpn.html

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
JayBlackcreek
Here to help

Ok, I enabled AnyConnect in the portal, downloaded the software and rebooted my computer and the Meraki, and verified internet is working on both. When I open the AnyConnect software and enter the VPN hostname, it says it could not connect to server. Please verifiy connectivity and server access.

ww
Kind of a big deal
Kind of a big deal

Is your mx behind a nat internet router?

 

What does the mx event log report regarding the vpn

JayBlackcreek
Here to help

No it isn't.

alemabrahao
Kind of a big deal
Kind of a big deal

Does your MX has a Public IP?

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
JayBlackcreek
Here to help

Yes it does.

JayBlackcreek
Here to help

Any ideas? I am still struggling and my other network co-workers don't seem to have any idea either.

 

I have configured the VPN in the Meraki, to use Umbrella DNS server, no WINS servers, the shared secret I know is correct and I am using Meraki Cloud Authentication and users are setup to use the connection. I also gave it its own subnet to use that was not already in use.

 

When I am in Windows, I enter the hostname exactly as it says, make sure to use L2TP with pre-shared key. Verified the pre-shared key is correct, changed to require encryption and to use an Unencrypted Password (PAP). 

And it still won't work. The error I get is "the L2TP connection attempt failed because the security layer encountered a processing error during initial negotiations with the remote computer." And it never even prompts for any username or password, never even makes it to the login.

 

The Meraki device is getting a Public IP and AFAIK, there is no other internet routers in front of this.


Any further assistance would be appreciated. Thanks!

alemabrahao
Kind of a big deal
Kind of a big deal

Some options for troubleshooting. If possible check It on the Windows Event Viewer.

 

 

https://documentation.meraki.com/MX/Client_VPN/Guided_Client_VPN_Troubleshooting/Unable_to_Connect_t...

 

https://documentation.meraki.com/MX/Client_VPN/Guided_Client_VPN_Troubleshooting/Troubleshooting_Cli...

https://documentation.meraki.com/MX/Client_VPN/Guided_Client_VPN_Troubleshooting/Verifying_a_Success...

 

Why don't you use Anyconnect instead of L2TP connection?

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
JayBlackcreek
Here to help

I tried that, it didn't work. It says it can't find the server. I have verified there is internet over there and there's no firewall or third-party router or NAT device that could be interfering.

JayBlackcreek
Here to help

It turns out that the internet is actually being NATed because we are using a dynamic IP from the ISP as opposed to a static IP and it looks like we will have to use a static IP from the ISP to get the VPN to work.


Thanks everyone for your help.

Get notified when there are additional replies to this discussion.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.
Labels