Add client IP address to log messages

Drew Weaver drew.weaver at
Tue Nov 23 14:40:39 CET 2021

Okay I don't think it is as complicated as I made it. 

All of the clients do indeed fall under the localhost definition in clients.conf

If there is no way for me to configure clients.conf to use the IP of the actual client/NAS when it logs things under a single entry I will merely have to create and maintain 200 configuration entries in that file or use SQL or another way to define them.

Thanks for your help.

-----Original Message-----
From: Freeradius-Users < at> On Behalf Of Matthew Newton
Sent: Tuesday, November 23, 2021 8:37 AM
To: freeradius-users at
Subject: Re: Add client IP address to log messages

On 23/11/2021 13:34, Drew Weaver wrote:
> That just makes it log this: (from client localhost port 0) 
> IP:
> So I guess I will have to just create 200 entries in clients.conf unless there is some way to just tell clients.conf to use this :%{Packet-Src-IP-Address} instead of it's own IP address in logging.

As Alan has said, please post the full debug output. At this point we're just guessing.

List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list