30 Mar
2018
30 Mar
'18
1 a.m.
On Mar 29, 2018, at 10:12 AM, Matthew Newton <mcn@freeradius.org> wrote:
On Thu, 2018-03-29 at 02:11 -0400, Charles Sprickman via Freeradius- Users wrote:
What I’m having trouble with still is setting a variable based on the client the request comes from.
In clients.conf set a variable in the client definition, something like
client localhost { ipaddr = 127.0.0.1 myvar = "hello" ... }
then use this where you need it with %{client:myvar}.
This is awesome, thank you. Officially simpler than what I had to do in gnu-radius. Charles
-- Matthew
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html