W10 VPN connection via iPhone = Grrr



  • I'm having lots of trouble trying to VPN from Windows 10 when tethered to an iPhone running iOS 12.0.1.

    I'm using IPSec but getting nowhere. When tethered to my Android phone I have no problems, but the iPhone just will not work.

    I know there are lots of variables, but first I'd just like to know if this is at all possible?

    Do I have to upgrade/update anything? Is this a known issue?

    Thanks for any help.



  • It has nothing to do with your phone.

    I run VPN through my phone all the time.



  • @siringo said in W10 VPN connection via iPhone = Grrr:

    I'm having lots of trouble trying to VPN from Windows 10 when tethered to an iPhone running iOS 12.0.1.

    I'm using IPSec but getting nowhere. When tethered to my Android phone I have no problems, but the iPhone just will not work.

    I know there are lots of variables, but first I'd just like to know if this is at all possible?

    Do I have to upgrade/update anything? Is this a known issue?

    Thanks for any help.

    So what are the errors you are seeing? Since Iphone would not cause this.



  • I've bootcamped my Macbook (I can run OSX & W10).

    When I boot up OSX, tether to the phone, setup the VPN connection within OSX (using Cisco IPSec), I can log into the VPN no problem, it's instant.

    When I boot up W10, tether to the phone and try to setup the VPN connection using any configuration of the W10 VPN client, I just can't get it to connect.

    I don't think it's the phone either, I think it's the W10 VPN client in some way.

    I've looked for alternative VPN client software for Windows 10, but not been able to locate any.

    So I'm wondering if anyone has had success running IPSec via the W10 VPN client through an iPhone with iOS 12+???



  • @siringo said in W10 VPN connection via iPhone = Grrr:

    I've bootcamped my Macbook (I can run OSX & W10).

    When I boot up OSX, tether to the phone, setup the VPN connection within OSX (using Cisco IPSec), I can log into the VPN no problem, it's instant.

    When I boot up W10, tether to the phone and try to setup the VPN connection using any configuration of the W10 VPN client, I just can't get it to connect.

    I don't think it's the phone either, I think it's the W10 VPN client in some way.

    I've looked for alternative VPN client software for Windows 10, but not been able to locate any.

    So I'm wondering if anyone has had success running IPSec via the W10 VPN client through an iPhone with iOS 12+???

    Turn on verbose logging, and then post your errors here. That will give us more to work with.



  • @kelly said in W10 VPN connection via iPhone = Grrr:

    @siringo said in W10 VPN connection via iPhone = Grrr:

    I've bootcamped my Macbook (I can run OSX & W10).

    When I boot up OSX, tether to the phone, setup the VPN connection within OSX (using Cisco IPSec), I can log into the VPN no problem, it's instant.

    When I boot up W10, tether to the phone and try to setup the VPN connection using any configuration of the W10 VPN client, I just can't get it to connect.

    I don't think it's the phone either, I think it's the W10 VPN client in some way.

    I've looked for alternative VPN client software for Windows 10, but not been able to locate any.

    So I'm wondering if anyone has had success running IPSec via the W10 VPN client through an iPhone with iOS 12+???

    Turn on verbose logging, and then post your errors here. That will give us more to work with.

    I'm suspecting you mean logging on the VPN server???

    I'm trying to connect to a VPN endpoint that is part our network maintained by our telco. I've spoken with the Telco about this problem and they've not been much help.



  • If it works over an android phone using the same SIM card and not over the apple phone then it's pretty obvious it's the phone.

    Since the phone works as a router in this scenario it has to have ipsec pass through. Maybe there is a bug in the apple phone. Who knows? Apple don't give a cr*p - if they think ipsec passthrough is not needed for their users they will just disable it.

    You can enable logging on your VPN client in Windows. Then you can see how far it goes and that could provide some clue how to work around the problem. Or just use your android phone...



  • Also ios 12.0.1 have only been out a couple of days. What did you expect? 😉



  • @siringo said in W10 VPN connection via iPhone = Grrr:

    @kelly said in W10 VPN connection via iPhone = Grrr:

    @siringo said in W10 VPN connection via iPhone = Grrr:

    I've bootcamped my Macbook (I can run OSX & W10).

    When I boot up OSX, tether to the phone, setup the VPN connection within OSX (using Cisco IPSec), I can log into the VPN no problem, it's instant.

    When I boot up W10, tether to the phone and try to setup the VPN connection using any configuration of the W10 VPN client, I just can't get it to connect.

    I don't think it's the phone either, I think it's the W10 VPN client in some way.

    I've looked for alternative VPN client software for Windows 10, but not been able to locate any.

    So I'm wondering if anyone has had success running IPSec via the W10 VPN client through an iPhone with iOS 12+???

    Turn on verbose logging, and then post your errors here. That will give us more to work with.

    I'm suspecting you mean logging on the VPN server???

    I'm trying to connect to a VPN endpoint that is part our network maintained by our telco. I've spoken with the Telco about this problem and they've not been much help.

    Logging on the client. Then you can see where it is failing.



  • I'm pretty sure I can see what is going on.

    My initial thoughts on all this were incorrect. The problem lies with Cisco & Windows 10 implementation of L2TP with IPSec as far as I can tell.

    The telco has a Cisco back end that I am trying to log into (VPN into). The Cisco gear doesn't seem to like the Windows 10 implementation of L2TP with IPSec.

    iPhones & Macs use the Cisco IPSec client to VPN in with, which works fine.

    So I need to either:
    A - Find a non MS IPSec client for W10
    B - Setup an alternate way to VPN in and not use the Telco's VPN gateway

    All help greatly appreciated.



  • Do you know have a W10 version of the Cisco client?



  • @kelly said in W10 VPN connection via iPhone = Grrr:

    Do you know have a W10 version of the Cisco client?

    From what I've read the old Cisco client doesn't work with W10.

    I downloaded the AnyConnect client from a University web site & stupidly installed it. It's all preconfigured for the Uni. I tried to connect to the VPN by manually typing in the VPN IP address I want to access but it only says "Could not connect to server. Please verify internet connection & server address".

    I removed the client xml profile file as mentioned in several forums as a fix for this but nothing changed.



  • I thought you said it worked using the win10 VPN client when in android?

    Does win10 VPN work when using WiFi? If yes, not likely the win10 VPN client.



  • I've been battling with VPN on Windows 10 ever since the latter came out. And if you do a quick google search, you'll find thousands with all kind of VPN issues on 10. Here's the only thing that worked so far, and I only discovered it yesterday.

    In registry, find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent, then add AssumeUDPEncapsulationContextOnSendRule DWORD key, and change value to 2 and reboot.



  • @dashrender said in W10 VPN connection via iPhone = Grrr:

    I thought you said it worked using the win10 VPN client when in android?

    Does win10 VPN work when using WiFi? If yes, not likely the win10 VPN client.

    Yes I did say that but I was incorrect.
    The Telco support guys told me to use 'Automatic' as the 'Type of VPN on the Security tab, which I did. I also typed in the passphrase. I then went to connect and it connected, so I thought 'Oh they've fixed the problem'. But they haven't. After looking at the logs I can see that the W10 VPN client is connecting via PPTP.

    iOS won't pass PPTP traffic and the L2TP traffic I thought was working wasn't and doesn't work at all.

    Connecting straight from my W10 PC via L2TP with IPSec doesn't work at all. The only IPSec connections that work are on iOS and OSX devices as they have the Cisco IPSec software built in.

    The telco's VPN endpoint will accept PPTP log ins, but the iPhone won't pass PPTP traffic, so when tethered to the iPhone I can't log in.

    Back to the Telco.



  • @marcinozga said in W10 VPN connection via iPhone = Grrr:

    I've been battling with VPN on Windows 10 ever since the latter came out. And if you do a quick google search, you'll find thousands with all kind of VPN issues on 10. Here's the only thing that worked so far, and I only discovered it yesterday.

    In registry, find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\PolicyAgent, then add AssumeUDPEncapsulationContextOnSendRule DWORD key, and change value to 2 and reboot.

    Yes, that from here:
    https://support.microsoft.com/en-us/help/926179/how-to-configure-an-l2tp-ipsec-server-behind-a-nat-t-device-in-windows

    I had been holding off on doing this as I was under the impression that it was an issue elsewhere.

    I'll give that a go and see what happens ... ..... .... .... ...

    No, that didn't help.

    Off to moan to the telco.


Log in to reply