Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can this work on Windows/Android/iPhone at same time #18

Closed
sudanking opened this issue May 3, 2016 · 4 comments
Closed

Can this work on Windows/Android/iPhone at same time #18

sudanking opened this issue May 3, 2016 · 4 comments

Comments

@sudanking
Copy link

Can this work on Windows/Android/iPhone at same time?
it is work for me in Android and iPhone.... but not in windows 10.... any idea?

@hwdsl2
Copy link
Owner

hwdsl2 commented May 3, 2016

@sudanking What error(s) did you see? In case it is Error 628, go to the "Security" tab [1] of VPN connection properties, enable CHAP and disable MS-CHAP v2.

Also, please note that due to a limitation of the IPsec protocol, multiple devices behind the same NAT (e.g. a home router) cannot simultaneously connect to the same IPsec VPN server.

[1] #7 (comment)
[2] #9

@sudanking
Copy link
Author

this what I get in event viewer:
The user XXXXXXXX dialed a connection named XXXXXXX which has failed. The error code returned on failure is 809.

I use single connection from one place to server.

@hwdsl2
Copy link
Owner

hwdsl2 commented May 4, 2016

@sudanking As explained in important notes [1], to avoid Error 809 please add the following registry key and reboot your Windows 10 computer [2].

  • Client behind NAT devices
    Solution: Modern Windows devices do not support L2TP/IPsec connections when the Windows computer or VPN server are located behind a NAT. If the Windows VPN client fails with Error 809 when trying to establish a VPN connection to an MX located behind a NAT, add the "AssumeUDPEncapsulationContextOnSendRule" DWORD value to the Windows registry. This DWORD value allows Windows to establish security associations when both the VPN server and the Windows based VPN client computer are behind NAT devices.

For Windows Vista, 7, 8, 10, and 2008 Server:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent

RegValue: AssumeUDPEncapsulationContextOnSendRule

Type: DWORD

Data Value: 2

Note that after creating this key you will need to reboot the machine.

In case that you also see Error 628, refer to my previous comment.

[1] https://github.com/hwdsl2/setup-ipsec-vpn#important-notes
[2] https://documentation.meraki.com/MX-Z/Client_VPN/Troubleshooting_Client_VPN#Windows_Error_809

@hwdsl2
Copy link
Owner

hwdsl2 commented May 5, 2016

@sudanking Closing this issue for now. Please follow instructions in my earlier comment. Feel free to reply if the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants