A question about the NAS-Port on FreeRadiusServer 2.1.4 + Postgresql 8.4.2

Alan DeKok aland at deployingradius.com
Fri Mar 5 07:43:37 CET 2010


蔡暮章 wrote:
> Hello,
>     we are working on the FreeRadiusServer 2.1.4 + Postgresql 8.4.2, and
> trying to authenticate different 'users' according to the NAS-Port in
> the request packets. We build the db table 'nas' by the scripts nas.sql:
...
>     Since the 'ports' column exists in the table 'nas', we wonder if it
> has some relationship with the NAS-Port in the request packets.

  No.

> We tried
> some values for the column, but didn't work. Anyone can tell me the
> meaning of the column 'ports'?

  It means nothing.

>     Now we can configure a virtual server for each NAS (by the column
> 'server' of the table 'nas'). Can I configure a virtual server for each
> NAS-Port? If so, how can I acheive that? Thank you!

  You should check the NAS-Port, and proxy the request to another
virtual server.

  Or, modify the source code.

  Alan DeKok.



More information about the Freeradius-Users mailing list