- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-26-2019 02:07 PM
Weird question....but have to ask.
Small Office network
No AD
Use PA220 as a DHCP Server for users (even mobile devices).
DHCP Reservation Table has all the information that I think USER-ID could use.....is there a way to make this happen?
thought about trying to forward a log file out of Management Interface to the Trusted interface.....but just spitballing here.
Bottom line - trying to come up with a way that I don't have to make users authenticate (so to speak).
Like I said....weird question 🙂
thanx,
tlh
02-26-2019 03:02 PM
Hello,
Check out the following:
https://docs.paloaltonetworks.com/pan-os/8-0/pan-os-admin/user-id/user-id-overview.html
https://docs.paloaltonetworks.com/pan-os/8-0/pan-os-admin/user-id/enable-user-id.html
I'm sure there is a location where all users must authenticate to? If not then Captive Portal and /or Global Protect might be the way to go.
Just some thoughts.
02-27-2019 12:25 AM
@thartman I don't think that this will work.
The DHCP DORA process has no user information involved - so how should the firewall map that IP to a user?
I would recommend to use internal globalprotect for UserID - that's the best reliable source for it - in the meantime, youcould use WMI probing
02-04-2021 08:14 PM - edited 02-04-2021 08:17 PM
If you use PA as DHCP server, you can feed PA DHCP logs back to itself, use hostname or MAC address as username.
Some devices report their hostname while getting IP from DHCP server, some don't. in this case, you have to use MAC address as username.
1. Enable USER-ID syslog listener UDP on management interface.
2. Configure PA to send DHCP lease-start logs to its management interface.
3. Configure Palo Alto Networks User-ID Agent Setup, in the Syslog filters:
Event Regex: DHCP\ lease\ started
Username Regex: hostname\ ([a-zA-Z0-9\\\._-]+)
Address Regex: ip\ ([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3})\s
4. Configure Server Monitoring, to monitor itself management interface, apply above syslog filter.
Tested on my PA-VM 10.0.4. My mobile phone reports its hostname as android-xxxxxx
02-04-2021 08:24 PM
OK. It seems someone already tested on old PAN-OS version as well:
https://jamesholland.me.uk/user-id-from-dhcp/
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!