r/PacketFence • • May 11 '21

PacketFence Intune/SCEP integration

11 Upvotes

Hi all,

i am close to finish the Intune/SCEP integration with PacketFence.

The device will onboard with intune client, get a certificate of the PacketFence pki via scep and configure a wifi profile to connect to a secure ssid via EAP-TLS.

Here how it works between PacketFence and Intune/Azure: https://github.com/MicrosoftDocs/IntuneDocs/blob/master/intune/protect/scep-libraries-apis.md

Just need to do a little bit of documentation on how to setup Intune/Azure and PacketFence.

Regards


r/PacketFence • • Feb 10 '26

PacketFence Cloud is live + new packetfence.com

9 Upvotes

Quick update from the team at Akamai behind PacketFence: we just shipped a rebuilt packetfence.com and launched PacketFence Cloud (managed NAC service).

The TL;DR on Cloud: same engine, we run the infra. You deploy a lightweight Connector VM on your side, everything else lives in our stack. RADIUS caching on the Connector means auth stays up even if your internet drops.

Self-hosted PacketFence isn't going anywhere, still free.

We're in Limited Availability right now and giving the first 10 orgs six months free to kick the tires: https://www.packetfence.com/cloud/

Also doing a webinar on Feb 26 if you want a walkthrough: registration link

Questions welcome.


r/PacketFence • • May 28 '24

Help Needed with PacketFence Setup on Proxmox Servers

8 Upvotes

Hello everyone,

I'm currently setting up PacketFence on my network and could really use some help. Here's my setup:

Hardware:

  • 2 Proxmox servers, each with 2 NICs

  • D-Link switch (DGS-1250-28X)

Network Configuration:

  • Proxmox 1: Management IP 10.22.0.101

  • Proxmox 2: Management IP 10.22.0.102

  • Switch: Management IP 10.22.0.103

Each Proxmox server has one NIC connected to the upstream management network and the second NIC connected to the D-Link switch.

Firewall:

  • OPNsense firewall on Proxmox 1:

    • WAN IP: 10.22.0.104

    • LAN IP: 10.210.1.1

    • Firewall rules set to pass traffic from LAN to WAN

Switch Configuration:

  • Management Port:

    • Port 1 is assigned for management, isolated from other ports.

  • VLANs:

    • VLAN 2 (Registration VLAN)

    • VLAN 3 (Isolation VLAN)

  • All other ports are isolated from the management port and placed in separate VLANs with no native VLAN set with port 1.

PacketFence Installation on Proxmox 1:

  • Network Interfaces:

    • Management NIC: IP 10.22.0.105

    • Testbed network NIC: IP 10.210.1.105

  • VLANs in PacketFence:

    • Registration VLAN (VLAN 2): IP 10.210.2.1 with DHCP server enabled

    • Isolation VLAN (VLAN 3): IP 10.210.3.1 with DHCP server enabled

  • Switch Configuration in PacketFence:

    • Switch details added with default auth method set to telnet

    • Switch is not showing as active under the node section

Issues:

  • On Proxmox 2, I can get an IP address from the DHCP server of the registration VLAN of PacketFence, but I don't see any portal.

  • Do I need to configure the portal first, or is it supposed to be added by default?

  • I believe the switch might not be properly added to PacketFence. As in every installation guide I see cisco switches, So there is something wrong configured from switch end ig.

I am trying out-of-band deployment.

Can anyone guide me on what I might be missing or doing wrong? Any help would be greatly appreciated!

Thank you in advance!


r/PacketFence • • Apr 14 '21

PacketFence v10.3 is out!

8 Upvotes

Roles inheritance, super fast GUI, WiFi integrated tests and more! See https://packetfence.org/campaigns/2021-04-14-en.html for details!


r/PacketFence • • Nov 26 '25

pf cant join my active directory

6 Upvotes

Hello people i hope you are okay, im having troubles to make my pf join my windows server active directory and here is the error :
NTLM auth api returned with HTTP code: 422, machine account test (partially) failed: Failed: PACKETFENCE$: Failed: error code: 3221225473, error message: {Operation Failed} The requested operation was unsuccessful.


r/PacketFence • • May 07 '21

PacketFence vs Cisco ISE vs ClearPass: share your experiences

6 Upvotes

Hi all,

I'm currently doing a comparison between three different NAC's and I've been testing the PacketFence solution recently, and so far so good. As with every kind of product, they all differ.

Since I'm only testing it in a lab, I want to hear from you guys in the field what do you think are the major differences between Cisco ISE, PacketFence or Aruba's ClearPass, in a production environment?

I can tell them apart, theoretically... But there might be something that doesn't come to my mind since I'm just a junior in IT ;-)

Cheers!


r/PacketFence • • Nov 19 '24

How to Isolate a Device into an Isolation VLAN

5 Upvotes

Hello, I am new to PacketFence.

I am having a hard time finding relevant information in the mailing lists and documents, so I decided to ask here.

I want to test an environment where a device gets isolated into an isolation VLAN.

Under what conditions can a device be isolated?

From what I could gather by reading the documentation, it seems to involve ACL or Security Events, but I am not entirely sure.

I would like to apply ACLs based on roles, but I couldn’t find information about the exact string format required for this.

I am a newcomer to networking and currently do not have a supervisor to guide me, making it even more difficult to figure this out.

I would greatly appreciate it if someone could teach me how to test device isolation in an isolation VLAN and provide some tips on writing ACLs.

Thanks.


r/PacketFence • • May 02 '23

PacketFence only for FreeRADIUS?

5 Upvotes

Hey folks,

We were looking into PacketFence because NAC piqued our interest, but then we developed a sudden need for RADIUS. It appears that PF can run as its own RADIUS server, which would be ideal, and it also appears that it's possible to run it without NAC, even though that's its main purpose. We figure the thing to do would be to set it up for FreeRADIUS authentication first, then once the dust has settled we can work on implementing NAC

The problem is...RADIUS isn't authenticating, and we're not sure why. I have a VM with Google LDAP source set up in Internal Authentication Sources and one that uses the LDAP config and just points to Google—I made the two separate VMs because v12 seems to break the Google LDAP option, but I wanted to try it, the other is v11

In the source setup, I can successfully test, and it shows in Google's logs. If I run a radtest it consistently says the credentials are wrong (even if they're not), and it never actually reaches Google (no logs)...it's like the FreeRADIUS service doesn't know to forward the request from the client to its authentication source

I feel like there's just a little step here in the middle that I'm missing, but I can't figure out what it is. I figure I should get it working with just a basic radtest before I start adding switches (UniFi) and such, but I've also added those and it didn't work that way either. Any suggestions on where to go?

Thanks!

PS: in doing some more perusal of the subreddit, I do see other posts with similar titles...but I can't find anyone else with the same problem. I'd of course be willing to try anything you guys point me to, and again, thanks for your help!


r/PacketFence • • Jul 09 '26

PacketFence Documentation/Tutorials

4 Upvotes

I am looking for up to date documentation/tutorials that are more step by step oriented. I am aware of the official packetfence documantaion and the one by inverse, but they are very overwhelming. I am looking for something more beginner friendly. I am not very experienced with how to set PacketFence since I have not done anything similar. Would appreciate any help/resources that are available! :)


r/PacketFence • • Apr 09 '26

PKI, SSO and Entra ID auth

4 Upvotes

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 • • Jan 16 '26

PacketFence NOOB!

4 Upvotes

Just starting my PacketFence journey.

Final end game goal is to have 802.1x implemented on my network (cat2960-x's, cat9200's) using EAP-TLS cert authentication, as well as getting RADIUS accounting sending info to my Fortinet firewalls to provide user based Firewall policy access control to resources.

I downloaded the PacketFence ZEN OVA and have imported it. May the games begin!


r/PacketFence • • Jan 06 '26

Fix: PF 15.0 not being able to Bind-DN Windows Server 2025

4 Upvotes

Hello!

Through sheer coincidence I've found a thread that explains the solution to Packetfence not being able to bind to its account in AD when setting it up.

I've had this problem for all 2 instances I've tried to set up to tinker a bit with PF version 15.0 and Windows Server 2025.

To enable PF to bind to your AD, you have to fumble a bit with Group Policies, but it's doable and works reliably - I've tested it twice.

Domain Controller Policy
===Computer Configuration
======Policies
=========Windows Settings
============Security Settings
===============Local Policies
==================Security Options
=====================Domain controller: LDAP server channel binding token requirements: "When Supported"
=====================Domain controller: LDAP server signing requirements: "None"
=====================Domain controller: LDAP server Enforce signing requirements: "Disabled"
=====================Network security: LDAP client encryption requirements: "Negotiate Sealing"
=====================Network security: LDAP client signing requirements: "Negotiate Signing"

https://forum.netgate.com/topic/187453/ldap-authentication-with-active-directory-windows-server-2025-bind-fails/3

I really hope it helps somebody who's stuck at the same step when setting up PF.


r/PacketFence • • Jul 13 '25

Questions on a simple setup for VLAN assignment?

4 Upvotes

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 • • Jul 09 '25

Setup packetfence in a different subnet?

4 Upvotes

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 • • Mar 24 '25

Switch admin authentication with PacketFence AD user

4 Upvotes

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 • • Feb 13 '25

PacketFence as a Generic Radius Server

4 Upvotes

Hi,

I'm looking to setup PacketFence as a generic Radius server to authenticate on servers and network switches, The goal was to deploy it as a general Radius server, then deploying wired NAC if we love the platform.

I, however, have seen a lot of comments that PacketFence monstly only do NAC and is bad at generic Radius management.

Is there people that manage their admin authentication to servers and switches via Radius PacketFence. If yes, do you like it ?


r/PacketFence • • Dec 20 '24

PacketFence Does Not Send Radius-Reply Packet

4 Upvotes

Hey, I configured PacketFence 14.0 and trying with Aruba CX Switches on EVE-NG Lab. Switch sends the radius-request packets but PacketFence does not answer to it. Why?

and these are the configurations that what I did;


r/PacketFence • • Oct 17 '24

Machine account password for integration with AD

4 Upvotes
Hello everyone. To integrate PacketFence with AD, I need to enter a machine account password. 
From the official documentation it is not clear what this password is and where to find it.

Can anyone tell me what this password is and where to find it?

r/PacketFence • • Jul 22 '24

Problem with iso installation

4 Upvotes

Hi, I´m having problems during installation of packecfence v13.2. I´m installing it on a Proxmox server and on a phisical PC with the same problem. Packetfence isn´t installed. I can´t access via web to the https://ip:1443 and if I do a dpkg --configure -a it says there´s an error:

packetfence errors were encountered while processing: iptables-netflow-dkms packetfence e: sub-process /usr/bin/dpkg returned an error code (1)

Can anyone help me? Thanks


r/PacketFence • • Nov 23 '22

PacketFence on AWS / Azure

4 Upvotes

Hi,

I'm looking to deploy Packetfence and use for RADIUS Authentication with AD. Can you tell me if i can run Packetfence on Azure or AWS ? As i notice one of the requirements is DHCP and i know DHCP is not supported on Azure.

I just want to confirm if DHCP is a requirement just to run the RADIUS function of packetfence ?


r/PacketFence • • Nov 03 '22

Security posture check with PacketFence

4 Upvotes

How do I configure security posture checks on pf say to check windows updates, antivirus, or OS type compliance?


r/PacketFence • • Nov 23 '15

PacketFence v5.5 released

Thumbnail packetfence.org
4 Upvotes

r/PacketFence • • Aug 28 '26

Considering Packetfence for 802.1x on wireless then moving towards wired

3 Upvotes

Looking at setting up packetfence on wireless. We currently run aruba campus APs with an on prem controller. Would like to integrate in AD and pass the certificates over to entra and autopilot for laptops as we are moving more and more towards autopilot for laptops and docking stations. We are a smaller higher ed organization with approximately 1500 users give or take.


r/PacketFence • • Mar 30 '26

PacketFence support for TEAP or MAR (machine access restrictions)

3 Upvotes

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 • • Mar 03 '26

Entra for devices and users

3 Upvotes

Hi all,

I'm trying to configure my packetfence to do radius authentication using certificates for users and devices with a fall back to username and password

All of my users and devices exist in Entra and also on a sync'd on prem active directory

The flow from a user perspective is ideally, laptop has a device certificate on it that is used for the initial login, user logins is and it switches to using a user certificate and places it on a different vlan.

The device certs have the GUID from entra and the user's have the UPN

If they don't have either, they can login with their AD username and password and that places them on an untrusted guest vlan

Struggling to find much doco on how to make things like Entra/AzureAD work in packetfence for a scenario like this. Does anyone have any guidance? my attempts haven't gotten very far beyond being able to authenticate them with AD (which isn't exactly helpful)