Hello.
I have:
1. Mikrotik
2. NPS Server (Windows Server 2019)
3. Client config:
client
dev tun
proto tcp
remote vpn.mettem-m.ru 1194
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
remote-cert-tls server
verb 3
route 172.16.0.0 255.255.255.0
route 172.19.0.0 255.255.255.0
route 172.20.5.0 255.255.255.0
<ca>
My cetificate...
</ca>
I'm use MS-CHAP, MS-CHAP-v2 authentication method.
After connect i got this log from ovpn:
Tue Jun 02 01:56:04 2020 Connection reset, restarting [0]
Tue Jun 02 01:56:04 2020 SIGUSR1[soft,connection-reset] received, process restarting
Tue Jun 02 01:56:04 2020 MANAGEMENT: >STATE:1591052164,RECONNECTING,connection-reset,,,,,
Tue Jun 02 01:56:04 2020 Restart pause, 5 second(s)
Windows Security log:
Authentication Details:
Connection Request Policy Name: Mettem-m
Network Policy Name: Mikrotik
Authentication Provider: Windows
Authentication Server: DC02.corp.mettem-m.ru
Authentication Type: PAP
EAP Type: -
Account Session Identifier: -
Logging Results: Accounting information was written to the local log file.
Reason Code: 66
Reason: The user attempted to use an authentication method that is not enabled on the matching network policy.
After enabling PAP, the connection is successful.
Question: How can I specify the required Protocol? MS-CHAP or MS-CHAP-v2