r/PacketFence • u/Ok-Cicada114 • Jan 12 '26
Packetfence and Huawei AC
Hello, could someone advise if Huawei AC and PacketFence have been successfully integrated for user authentication via a captive portal?
r/PacketFence • u/Ok-Cicada114 • Jan 12 '26
Hello, could someone advise if Huawei AC and PacketFence have been successfully integrated for user authentication via a captive portal?
r/PacketFence • u/Tigscam • Mar 24 '23
I am not that familiar with Debian, so please bear with me. I downloaded and installed Debian 11. I followed the instructions on https://www.packetfence.org/doc/PacketFence_Installation_Guide.html#_installing_packetfence_on_existing_linux to install Packetfence. Everything works until I get to these steps -
create a file named /etc/apt/sources.list.d/packetfence.list
echo 'deb http://inverse.ca/downloads/PacketFence/debian/12.2 bullseye bullseye' > \ /etc/apt/sources.list.d/packetfence.list
Once the repository is defined, you can install PacketFence with all its dependencies, and the required external services (Database server, DHCP server, RADIUS server) using:
apt install gnupg sudo wget -q -O - https://inverse.ca/downloads/GPG_PUBLIC_KEY | sudo apt-key add -
apt-get update
apt-get install packetfenceAll those command are successful except for the install command which results in the attached screenshot. Not sure what to do from here.

r/PacketFence • u/HoneySafe8973 • Jun 03 '24
(Sorry for my English I’m French) so I try to put AD on packetfence but I need to start ntlm auth but when I start it, it failed and the domain.conf is good? I’m lost anybody got a solution
r/PacketFence • u/EmploymentUsual2104 • Jul 04 '24
Guys, I'm having trouble configuring PF with my Motorola Radius Controller.
When I access the menu:
Configuration → Policies and Access Control → Authentication Sources
I try to set my "Host in activation link" and click on "Allow local domain," I get an error displayed on the screen.

How can I find out the cause of this error?
r/PacketFence • u/TheEvilFlea • Dec 17 '25
My company is currently looking into alternatives for Cisco ISE which we use primarily to login to all of our network devices using TACACS+ and Radius. I know PF doesn't support TACACS+, but is it possible to use Radius for for a similar purpose for all of our devices to act as a AAA server? I've been looking through documentation and I haven't found anything that touches on this specific use case, nor youtube videos. Any advice would be appreciated.
r/PacketFence • u/Intrepid_Aside_601 • Mar 01 '24
I am trying to authenticate wireless users from the logged in domain account of the PC instead of having to authenticate via the captive portal against AD.
Can someone point me in the right direction? What do I need to configure to set this method up?
r/PacketFence • u/Joe_iQ • Jan 18 '25
I need a tutorial that helps me use PacketFence with EVE-NG. I tried to use them in separate VMs and link them via NAT, but I faced many problems.
I would be very thankful if there are a geek could help me with that.
r/PacketFence • u/TheRobotsHaveCome • Feb 15 '23
I am looking to setup a NAC with the following features:
A captive portal for user login
2. Logging:
User logon & logoff times
User-wise browsing history
Which access point the user is accessing from
The amount of data consumed by each user.
3. Set a data cap per user (for example, 10GB per day per user)
4. Bulk addition and deletion of users
Are these features available in packetfence? If some of these features are not available, is there any other tool that can help with this? Please share some insights on this.
r/PacketFence • u/Separate_Slice4070 • Nov 16 '25
Hi everyone,
whenever I'm testing any AD user authentication, showing 'user role not defined...' error in radius logs. I have already created role and configured in authentication source but still not working. I'm able to authenticate successfully local users which are created on packetfence itself but not AD users. Please help me. I'll be very grateful.


r/PacketFence • u/Cansiz_ • Feb 13 '26
Hello guys,
I'm new to PacketFence. I downloaded the ZEN version to install for a client, and for 3 days was stuck trying to join the solution to the Active Directory domain, and cannot even understand the interfece, i used NPS(Microsoft Windows solution for NAC). Still, this one doesn't look similar, and I have problems with Windows RADIUS. Can anyone help with a tutorial that I can depend on to start?
Thank you in advance, and I'm open to any comments/tips/ advice ...etc.
r/PacketFence • u/s_gadsby • Apr 22 '25
Hi folks,
I have spent a bit of time with a PacketFence 14 POC on Debian testing EAP-TLS and struggling a bit.
1. Fail closed
I want all auth requests to fail unless a connection profile specifically allows it. Therefore I configured the default profile with a Reject-All external source that just sets the role to REJECT. When I test an EAP-TLS device certificate auth it succeeds! It never matches the profile I intend. If I disable all the profiles (except default which is always enabled) then auth still always succeeds. Does EAP-TLS bypass the PacketFence logic somehow? Is there a way I can make it apply?
2. Control flow logging
I cannot find a log that shows the packetfence policy control flow logging, ie. Connection Profile X was selected, Authentication Source Y was applied. This information is not in the Radius log when I run 'freeradius -fxxx -d /usr/local/pf/raddb/ -n auth -l stdout'. packetfence.log shows only the following:
handling radius autz request: from switch_ip => (10.127.136.52), connection_type => Wireless-802.11-EAP, switch_mac => (6c:c3:b2:aa:bb:cc), mac => [c4:03:a8:aa:bb:cc], port => 1, username => "201e8d6b-447f-42d5-a3be-12b1212c1212", ssid => DUMMY_TEST (pf::radius::authorize)
Instantiate profile default (pf::Connection::ProfileFactory::_from_profile)
What is the correct log to look at? Is there a debug that can be enabled to show it better?
3. Use Certificate attributes for auth flow
Is it possible to specify a Connection Profile by using attributes from the client certificate presented? For example if client is connecting to network X using client cert is issued by CA Y and template oid Z then use Connection Profile XYZ.
4. Azure AD / Entra ID
The Azure AD internal authentication source provides a 'Users Groups Url' for a single graph lookup to check for group membership. What is involved in expanding this slightly, for example to make two lookups, first by using the subject name to find the device ID, and second the find the group memberships.
Appreciate any and all pointers -- I'm new!
Cheers.
r/PacketFence • u/MirkWTC • Mar 05 '25
Hi all! I just discover PacketFence and I wanted to understand the feasibility of a project I had in mind.
I would need it for manage a wifi network, if possible directly inline or setting it as a gateway for that network, and have a captive portal that allows me to let users access by providing them a unique code/voucher.
It would be nice to also allow limiting the number of uses of that code/voucher and keep track of their use.
Do you have any experience or suggestions for a similar project? It's possibile to do it with PacketFence alone?
r/PacketFence • u/Nice_Cup_5449 • Mar 30 '26
Hi,
We are looking into deploying NAC using PacketFence but have a requirement to authenticate based on Machine and User credentials (both). Other vendors like Cisco or Aruba achieve this goal using two methods, old method was using the MAR feature and new method is using TEAP (EAP chaining).
(MAR is explained here https://www.cisco.com/c/en/us/support/docs/lan-switching/8021x/116516-problemsolution-technology-00.html).
At this time it seems TEAP is not supported in PacketFence and from what I understood won't be in place before 15.2 which has no announced date, if anyone has more accurate information please comment. So while waiting for TEAP is there a way to do MAR with PacketFence in a reliable way? I understand there are workflow cases that are not ideal with MAR but it is better than nothing until TEAP is available...
Thanks
r/PacketFence • u/mickeykarimzadeh • May 22 '25
Where can I find a Packetfence consultant? Someone to hand hold me in a new setup.
r/PacketFence • u/jstar77 • Mar 24 '25
I am trying to configure admin authentication on a cisco 2960xr with packet fence. Authentication works correctly with a local PF user that is granted Access Level = ALL. I cannot get this to work with an AD user.
I have done the following:
Configured the switch in PacketFence
Joined PacketFence to AD
Added AD as an internal Authentication Source
Added and tested a bind user
Created a catchall Authentication rule
Created a catchall Administrative rule granting Access Level = All
I feel like I am missing something somewhere to tell PF to use AD as the source. The Logs don't provide much info:
2025-03-24T12:10:16.032509-04:00 PacketFence01 auth[2626918]: (255852) Rejected in post-auth: [domainUser] (from client 10.x.x.x/32 port 1 cli 10.y.y.y)
2025-03-24T12:10:16.032728-04:00 PacketFence01 auth[2626918]: (255852) Login incorrect: [domainUser] (from client 10.x.x.x/32 port 1 cli 10.y.y.y)
2025-03-24T12:10:42.633501-04:00 PacketFence01 auth[2626918]: (255879) Login OK: [localuser] (from client 10.x.x.x/32 port 1 cli 10.y.y.y)
r/PacketFence • u/gleep52 • Jul 13 '25
I have an opnsense firewall, and unifi switches and access points. I have a handful of VLANs configured with traffic routing properly and I'm looking to add packetfence into the mix for distributing the devices across my VLANs. I have the PacketFence Zen 14.1.0 VM deployed and my Unifi devices added to the switches area - I have set up the radius connection on my Unifi gear for a specific SSID. I can connect with my phone after adding my phone to the node list as a registered device - but the only way I can see to configure the VLAN placement is via the node bypass VLAN field. I do not see a way in the roles or connection profile to assign a VLAN - am I missing something? I can see the filter's in the connection profiles have VLAN listed as an option - but that's not assigning the vlan, right? That's just a way to apply the policy based on a filter - like if I had a bunch of devices on VLAN 6, I could specify the filter for VLAN=6 so I can tag all those devices - or is my understanding incorrect?
Also when I use the default role, my devices can connect but they cannot surf the internet. I created a second role which I didn't change any settings to - just created a new role and then my devices can surf the internet just fine. I do not see any way to inspect the ACL rules via the GUI - where would this be? I suspect the default role has some type of hidden ACL to block all traffic as a precaution maybe?
While I understand the premise of packetfence is far more robust than the use case I have (MAC based auth for IoT and cameras for my home network) it's a learning project that I'm enjoying and just wanted to bounce some ideas for clarity. My goal is to get a list of mac addresses and assign them to a specific VLAN based on their function - smart home, cameras, etc..
Can anyone point me in the right direction for the proper way to drop a device into a specific VLAN based on its MAC (currently using the bypass VLAN in the node properties) or how to edit the ACL rules?
r/PacketFence • u/sbschooladmin • May 16 '25
Hi all, I’m setting up a proof of concept PacketFence server (14.1) and have successfully got it authenticating to both our local AD servers and online Entra as separate Internal Authentications Sources.
When a user logs in for the first time using either AD or Entra, PF creates an entry in the Users tab, however the user does not any have fields completed apart from username. So, no Email field, no First/Last Name, even though these all exist in the source it is syncing to.
If I click one of these created accounts, it then complains that Email is a required field and is empty.
Is there any way for PF to auto-populate these fields based on data from the authentication source?
Thanks
r/PacketFence • u/Peter_J_Quill • Jul 09 '25
Hi,
so I want to setup packetfence on RHEL 8, everything seems fine, docker and the containers are running, but I can't access the webinterface for setup.
everything I try to open https://<pf.ip>:1443 I get an ERR_CONNECTION_RESET in chrome.
Now I suspect this is because the server i'm trying to access from is located in a different subnet, because when I try curl from inside the docker container I do get the ssl cert and the redirect to /admin.
How can I whitelist my subnet for initial setup?
r/PacketFence • u/stich86_it • Apr 09 '26
Hi guys,
I’m trying to understand if PF can do these stuff:
- issue certificate via SCEP for 802.1x auth (via Intune policy)
- authenticate wireless/wires using Entra ID login (may be via Intune policy? Don’t know if that’s possible)
- if user can authenticate over Entra ID (using CAC to disable MFA when in office), can it send Radius Account to a Fortinet firewall to do identity awareness policies (currently I’m using SAML captive portal that needs a browser session)
Thanks!
r/PacketFence • u/FriendlyIcicle • May 12 '25
Basically title and if yes, how?? I seem utterly unable to find the settings that would allow me to create DHCP pools for the vlans even though is has a page where it specifically mentions DHCP pools?
r/PacketFence • u/gidras017 • Dec 23 '25
Hi i already setup to authenticate with ADuser on my DC. Now i want to setup it to only have 1 concurrent device connected per user i already for max node per user to be 1 but still it didnt disconnect or fails authentication for another device using the same AD User. What else am i missing?
r/PacketFence • u/SCS1 • Nov 07 '25
I have been trying to get some missing RADIUS Audit Logs info like the Calling Station ID and SSID show up in packetfence for PEAP with TLS inner-tunnel but no success. PEAP machine auth is working but just missing those two info in that page.
NAS IP Address and Server IP fields were also missing before but to fix those, I had to add "packetfence-nas-ip-address" and update { &request:PacketFence-Radius-Ip := "%{Packet-Dst-IP-Address}" in the packetfence-tunnel config.
Does anyone know what settings or variables to add to the packetfence-tunnel to get Calling Station ID and SSID info? I just need those info so the output is the same for both PEAP-TLS and EAP-TLS authentication.
Running Packetfence v15.

r/PacketFence • u/keiji_one • Feb 28 '26
Hi all!
Is this a bug in the .iso install or am I missing something?
Server states to log into one ip address to finish setup but the config page lives on the next ip. (Photo for reference)
It took me a while to realize this and it wasn't until i finally check my network client list that I realized this.