Page 1 of 1

Windows Clients in Tunnel mode? Tips?

Posted: Fri Feb 16, 2024 1:19 pm
by Nightowl82
Hello,

I am looking into setting up a Windows-Client in tunnel mode, without using the standard VPN-client, with user/name password for (eap-authentication), a long the lines that I connect my strongswan-client in this post:

viewtopic.php?t=204321

As far as I can tell I won't be able to use the built in client-interface, without getting an IP from the responder.

Does anyone have any experience that can be shared on how to achieve this?

Re: Windows Clients in Tunnel mode? Tips?

Posted: Fri Feb 16, 2024 2:51 pm
by Nightowl82
The following power-shell cmdlet, looks promissing:

https://learn.microsoft.com/en-us/power ... tipsecrule

In combination with this one:

https://learn.microsoft.com/en-us/power ... se2authset

But it seems unclear whether it can do eap-authentication.

if anyone have done a similar setup between windows servers, or clients, their input would be very welcome.

Re: Windows Clients in Tunnel mode? Tips?

Posted: Sat Feb 17, 2024 2:54 am
by Nightowl82
It might not be doable 🤔
Windows supports four distinct types of authentications: Kerberos, certificates, NTLMv2, and preshared key.
https://learn.microsoft.com/en-us/azure ... te-windows

This seems to be the Microsoft proprietary-protocol authip:

https://learn.microsoft.com/en-us/windo ... -is-authip

Re: Windows Clients in Tunnel mode? Tips?

Posted: Sun Feb 18, 2024 1:06 am
by Nightowl82
The Add-VpnConnection-commandlet seems promissing:


https://learn.microsoft.com/en-us/power ... connection

But configuring "plain tunnelmode" as in strongswan, doesn’t seem clear in any way.