SQL auth against existing database

Matthew Newton mcn at freeradius.org
Thu Mar 29 16:12:25 CEST 2018


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}.

-- 
Matthew



More information about the Freeradius-Users mailing list