Quantcast
Channel: Network Access Protection forum
Viewing all 1875 articles
Browse latest View live

EAPOL timeout

$
0
0

When a wireless client is authenticated via 802.1x EAPOL. Is there any timeout on the windows client or will it stay authenticated until the network connection is lost?

Thanks


802.1x EAP-TLS user certificate via auto enrollment

$
0
0

Hello, I can find many examples of 802.1x EAP-TLS authentication with NPS via 'Machine' certificate auto enrollment, but nothing for 'User' certificates.

Is it possible to do this by creating an auto enrollment 'User' certificate template, then creating an NPS policy to authenticate the common name of the user certificate against a specified user group ?

The user certificate would be auto enrolled to the client when the user logs in to AD. Is this possible ?

Thank you.

Certificate based wifi authentication instead of username and password

$
0
0
I have a windows 2016 server(RADIUS) with AD and NPS configured. For now i am authenticating users using their username and password, and then the AD CA will provide a certificate and logs the user in.

I want now to authenticate users by using only a certificate issued by CA without entering username and password. Is there any possible ways to achieve it?

Having Problem With Network policy

$
0
0

 

I am having a problem with the connection request policies,over there i can set the condition for them the check the use name ,identity type and etc...

however i can set the policy to allow some user to log in but i am making another policy where by client without the firewall on cannot access ,but it cannot work. NID help PLZ

Windows Server 2008 R2 VPN Error Event 20209, RasMan

$
0
0

Please assist, last week Saturday my vpn connection was working, today when i connect it fails, 

Below is the event viewer on from my Network Policy Server. From the investigation, the solution was to reconfigure the NPS policies(connection request policies) by enabling "Override network policy authetication policy". Antivirus and windows firewall has been disabled on both the server and the client laptop.  

A connection between the VPN server and the VPN client 197.254.138.146 has been established, but the VPN connection cannot be completed. The most common cause for this is that a firewall or router between the VPN server and the VPN client is not configured to allow Generic Routing Encapsulation (GRE) packets (protocol 47).

Help with NPS for RADIUS authentication between Meraki and DC - Reason 22

$
0
0

Hoping someone can help me.  I have 2 Meraki wireless networks in two different offices for the same customer.  Both sites have a Windows 2008 R2 domain controller with NPS installed.  Both DCs have new GeoTrust certificates installed to the Personal Certificate store, and the CA Root Certificate installed to the Intermediate CA store.  Both NPS environments have identical Connection Request and Network Policies.

RADIUS is working perfectly at Site A, but not Site B.  The access points at Site B are able to authenticate against NPS at Site A over the VPN tunnel, but the APs at either site are unable to authenticate against NPS at Site B.  Event Viewer returns Reason 22 as the error, and I'm stumped as to why.  

  • I’ve confirmed I’m using the correct RADIUS secret on my APs and in NPS.
  • I’ve tried removing EAP-MSCHAP v2 and re-ordering them, without any change
  • I’ve confirmed I have the correct certificate applied to PEAP in the Network Policy
  • I tried removing and re-importing my certificate and the CA Root certificate
  • I’ve restarted NPS multiple times

What could I be missing?

How to enable Filtring in DHCP

$
0
0

Hi

filter option is not showing in ip4 properties in DHCP

how to enable please

VPN logging

$
0
0
Is there a way for automated logging (preferably to a txt file) of all failure log on attempts to a vpn server? I am trying to collect source ip addresses and usernames of potential attackers.

Windows NPS and Eduroam Radius Profile For Aruba/Unifi Troubleshoot

$
0
0

We are setting up a new WiFi network at work (a school) that uses an ancient aruba controller (with aruba 105 APs) following the principles of eduroam listed here and the radius server is windows NPS again following the docs here.

Initially I copied the existing config we have got for our current wifi to no avail. The current network still works fine but no one can remember the details (and it is not in keeping with the BYOD route we are going down).

I have consistently been getting an error message of "authentication failed due to user credentials mismatch" (error 16 Event 6273) which most people have suggested through various forums means that the APs shared secret does not match - I have checked this more than once it does! Additionally I have checked the obvious account user/pass out and again it is correct.

In order to try and diagnose the problem further I brought in some of my unifi gear from home and spun up a completely fresh DC/CA/NPS server in a test environment. Same error but this time I have also installed wireshark.

If I "accept users without validating credentials" in the CRP then NPS returns a access-accept response, but the client still is unable to connect to the network (client reports dot1X timeout followed by operation was cancelled/server reports success) - this leads me to think it is something wrong client side?

Then if I switch the CRP to authenticate on this server (client reports explicit eap failure recieved followed by network is not available/Server sends an string of access-request/challenge immediately before access-reject) presumably this means that it is waiting for correct verification from the client?

CRP settings are:

  • Conditions

  1. NAS port Type - Wireless Other or 802.11

  2. Username - .+@schooldomain\.org\.uk$

  • Settings

  1. Authentication Provider - Local Computer

  2. Manipulation attribute rules - Replace "@schooldomain\.org\.uk$" with "@schooldomain.local"

  3. Target - User Name

  4. Override Auth - Disabled

Network Policy settings are:

  • Conditions

  1. NAS Port Type - Wireless

  2. User Groups - SchoolDomain\Eduroam

  • Settings

  1. EAP Config - Configured (PEAP with secured password EAP-MS-CHAPv2)

  2. Ignore Dial-In Properties

  3. Grant Access

  4. Client is supplied an IP

  5. Tunnel Medium 802/Type VLAN/Tunnel-ID 66

  6. Encryption Enabled

So I have been battling with this for several weeks now and banging my head against a wall would be more productive...

Anyone got any pointers?

Setting NIC profile from Domain to Public

$
0
0

Hi,

Our freshly installed server 2016 has 2 NIC's: one connected to a private network, one directly connected to the internet. I've noticed the firewall is applying the domain profile to both NICs, exposing AD, SMB, CIFS, ... all to the public WAN. We all know what kind of security risk this is.

I've tried this in PowerShell already: 

Set-NetConnectionProfile -InterfaceIndex 13 -NetworkCategory Public

Which returns with an error, saying it can't be manually changed from from DomainAuthenticated.

I've tried demoting and removing the entire freshly installed AD on our freshly installed Windows Server 2016 aswell, yet at step 1 (removing AD Certificate Services) it returns with an error 0x80073701. As far as i could figure, this means corrupted system files (yes, on a complete freshly installed Windows Server. A round of applause for Windows Update).

I've tried running sfc /scannow, which tells me that it found corrupted files and repaired them (over and over again). I've tried running dism /online /cleanup-image /restorehealth Which returns every time Error 14: Not enough storage available. Yet the system has 150 GB free and 16 GB RAM (of which only 25% is in use). None of these commands worked.

I'm running out of options now. I've already configured a firewall rule that blocks all ports below 1024 with exceptions for other crucial applications, but this is obviously a terrible solution. Telling my customer once again that their entire server must be reinstalled completely (I'm not even gonna bring up what Dell has done) is not option anymore (budget, time, ...). I've tried contacting Microsoft Server Support aswell, where i get a foreigner with a strange accent, demanding money (the great MS recession of 2014 ofcourse). Does anyone have any ideas?

Thanks in advance


NPS Reason Code 22

$
0
0

Hello guys, hopefully someone can help me resolve this issue. The client for this issue is a printer that I'm trying to authenticate over 802.1x. The connection is wired. The printer has a certificate and the CA certificate installed. The other solutions posted have not worked for me.

Network Policy Server denied access to a user.

Contact the Network Policy Server administrator for more information.

Reason Code: 22
Reason: The client could not be authenticated  because the Extensible Authentication Protocol (EAP) Type cannot be processed by the server.

Thanks in advanced!


NPS Server Reason Code 22 The client could not be authenticated because the Extensible Authentication Protocol (EAP) Type cannot be processed by the server.

$
0
0

NPS Server Reason Code 22 The client could not be authenticated because the Extensible Authentication Protocol (EAP) Type cannot be processed by the server.


I cannot get my wireless devices to log into an SSID utilizing Unifi Access Points using RADIUS with a server 2012 NPS server. I have literally copied all settings from a friends working environment and even the same type of self made SSL cert for the PEAP config, but I constantly get this error in the event logs when I try to connect.

It can tell when I am entering a username that does not exist on a test laptop when connecting. It gives me the same error above whether I use the correct or incorrect password.

I'm thinking this is unique problem as I've been searching google all day and talking to several others and nobody can seem to figure out the issue.

Does anyone have any ideas of things I can try next?

NPS without Active Directory to Authenticate

$
0
0
I want to Authenticate NPS with users located in Computers and Users without Active Directory. I want to have other options to authenticate.

Server Attempting To Login To Another Server

$
0
0

Hi guys,

I have two servers, and for some reason something on Server A is trying to login into Server B. They're both in the same subnet due to DHCP, but they're not in the same domain. Server A is trying to login into Server B using the domain of Server A, which then fails. It tries this once every minute.

My problem is isolating what is making the login request. I can see in the Event Viewer logs the port it tried to connect on, which appears to be random. I tried Wireshark, and I can see the offending packets, but I can't seem to find out what program is generating that packet.

Any ideas how to narrow down what program is making the authentication request?


RADIUS Authentication Access Denied

$
0
0

Hi,

We configured out network switches for RADIUS authentication using NPS in Windows Server 2012 R2.

https://www.cisco.com/c/en/us/support/docs/smb/switches/cisco-small-business-500-series-stackable-managed-switches/smb2903-management-access-authentication-setup-on-sx500-series-stack.html

When users attempt to log in to the switch using their AD credentials they are getting access denied and the following gets logged for the log in attempt. 

"DC","IAS",01/08/2020,22:19:15,3,,"corp.local/Denver/Users/Vitaly Gvozd",,,,,,,,0,"172.16.30.2","SG500",,,,,,,1,"Connections to other access servers",65,"311 1 172.16.36.10 01/09/2020 02:51:45 5",,,,,,,,,"05000035",,,,,,,,,,,,,,,,,,,,,,,,,"Use Windows authentication for all users",1,,,,

Could anyone point out what error code is recorded in this log ?

Thanks 


NPS windows server 2012 issue

$
0
0

Good afternoon, 

I am having an issue with one of my nps role installed on windows server 2012 that is also acting as a secondary domain controller 

I have imported the nps clients and policies from primary nps that is also my PDC and where everything is working fine , but on the secondary I am having issues to authenticate and authorize users, this is the last part of the relative event log :

Network Policy Server discarded the request for a user.

Contact the Network Policy Server administrator for more information.

Reason Code: 2
Reason: There are not sufficient access rights to process the request.

I confirm that this nps server has been properly registerd in active directory and included into IAS and RAS server group; could you please advice ?

Thanks 

Luciano


Idle Timeout & Session Timeout in Constraints - NAP win 2016

$
0
0

Hi everyone,

I am using NAP on WIN server 2016 and want to ask about the difference and the best practice to use both Idle Timeout & Session Timeout in Constraints.

NPS -> Policies -> Network Policies-> Constraints -> Session Timeout.

NPS -> Policies -> Network Policies-> Constraints -> Session Timeout.

What will happen if i set the idle timeout to 60 for example?
What will happen if i set the session timeout to 60 for example?
What is the best practices ?

Add Custom RADIUS attributes

$
0
0

Dear All,

I'm using pfSense firewall and I'm using MS RADIUS server for authentication and Accounting. pfSense provides RADIUS attributes dictionary as following:

VENDOR		pfSense				13644BEGIN-VENDOR	pfSenseATTRIBUTE	pfSense-Bandwidth-Max-Up		1integerATTRIBUTE	pfSense-Bandwidth-Max-Down		2integerATTRIBUTE	pfSense-Max-Total-Octets		3integerEND-VENDOR pfSense

MY Question:

How can I add this attributes ?

I tried adding them as specific vendor attributes but not working!

the debug results:

Received Access-Accept Id 244 from 10.10.100.253:1812 to 10.10.10.4:21347 length 219
        Attr-26.13644.2 = 0x706653656e73652d42616e6477696474682d4d61782d446f776e3d31303234303030
        Attr-26.13644.1 = 0x706653656e73652d42616e6477696474682d4d61782d55703d31303234303030

this attributes results is not accepted because firewall not understanding HEXonly string and the reply must be as following:

Received Access-Accept Id 202 from 10.10.10.4:1812 to 10.10.10.4:15982 length 50
        pfSense-Bandwidth-Max-Up = 1024000
        pfSense-Bandwidth-Max-Down = 1024000

Please Advise!

NPS as a radius server,the network policys are not enforced sometime

$
0
0

Hi All,

I have configed a NPS server on a windows server 2012 r2 OS, the radius client is a cisco hardware vpn device.
there is a custom NPS extension registered for some extra authentication(two step authentication).
theere are two types of authentication method:

1. user submit two passwords use "active directory password" + "some extra password" format, like 
"password1_password2", NPS extension split and check both two passwords and NPS itself authorize the user 
using netwok policy, both works fine. there're two security events logged into windows event log: 
the first event (ID6272) shows Network Policy Server granted access to a user.
the second event (ID6278) shows Network Policy Server granted full access to a user because the host met the defined health policy.
in both two events, i can see the Authentication Details shows Proxy Policy Name and Network Policy Name.

2. user submit the first "active directory password" to NPS, NPS extension check the password and return a radius challenge message to the radius client, then user submit the second "some extra password" to NPS, then NPS extension check the second password again.
the problem is: when the authentication process complete, NPS bypass the authorize(network policy) process and directly grant access to the network.
there is only one security events logged into windows event log: 
event (ID6272) shows Network Policy Server granted access to a user.
in this event, only shows the Proxy Policy Name. Network Policy Name is "-".

because the NPS extesion only registered fo authentication and it's worked  fine, so i think this is not a develop related question.
i am not very familiar with NPS, may be i make some wrong configration. 

THanks for your help。

=======================================

below are policies, values that i did not mention are all use default :

create a new connect request policy:
add a conditions -- NAS Port Type=virrtual(VPN);

create a new network policy:
add a conditions -- Windows Group=contoso\vpn_access_group;
Authentication Method -- only check unencryptedauthentication(PAP,SPAP)
Ignoreuseraccountdialinpropery

=======================================

we find a problem, 

when the authentication extension returrn to radius client a access-challenge message AND a ratState attribute, NPS does not un network policies and diectly let user login.

when the authentication extension returrn to radius client ONLY access-challenge message, NPS can use network policies to authorize the user.




Authetification Radius

$
0
0

Bonjour,

Voilà je rencontre ce petit problème pendant l’installation de mon projet d'authentification Radius.

Code raison : 22
Raison :  Le client n’a pas pu être authentifié car le protocole EAP (Extensible Authentication Protocol) ne peut pas être traité par le serveur.

J'ai beau avoir cherché partout une solution je ne trouve pas a par un probleme de certificat mais je ne sais pas comment en être sur...

IN ENGLISH :

Here I meet this little problem during the installation of my Radius authentication project.

Reason  : code: 22
Reason: The client could not be authenticated because the Extensible Authentication Protocol (EAP) cannot be processed by the server.

I may have looked everywhere for a solution I do not find a problem with a certificate but I do not know how to be sure ...

Viewing all 1875 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>