Different authorize files for virtual servers

Matthew Newton mcn at freeradius.org
Sat Mar 24 20:31:54 CET 2018


On Sat, 2018-03-24 at 14:52 -0400, Jay Rouman wrote:
> This should be easy.  I'm sure I'm missing something obvious.

Yes :)

> I want to run two virtual servers bound to different ports with each
> one
> consulting a different "authorize" file.  The "files" module seems
> bound
> to whatever is in mods-enabled/files, which I can obviously change
> but
> that changes it for both servers.

Define two instances of the files module with appropriate config for
each virtual server:

files files1 {
  ...
}

files files2 {
  ...
}

Then in one virtual server call "files1", and in the other call
"files2".

There are examples for other modules, e.g. in "raddb/mods-
available/detail.log".

-- 
Matthew



More information about the Freeradius-Users mailing list