Does the nas table work with virtual servers? That is, what is the nas configuration equivalent of the following config? client my_switch { ipaddr = 192.168.201.154 secret = abc.123 virtual_server = my_virtual_server } On startup, freeradius reads from the nas table and loads the clients listed there. But, those clients don't know which virtual server to connect to. Thanks for any tips and insights.
Jiann-Ming Su wrote:
Does the nas table work with virtual servers?
Yes.
On startup, freeradius reads from the nas table and loads the clients listed there. But, those clients don't know which virtual server to connect to.
Read the schema && the queries. There's a "server" entry which is the name of the virtual server. Alan DeKok.
----- Original Message ----
From: Alan DeKok <aland@deployingradius.com> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Fri, December 17, 2010 12:42:45 AM Subject: Re: nas table and virtual servers?
Jiann-Ming Su wrote:
Does the nas table work with virtual servers?
Yes.
On startup, freeradius reads from the nas table and loads the clients listed
there. But, those clients don't know which virtual server to connect to.
Read the schema && the queries. There's a "server" entry which is the name of the virtual server.
Thanks for the tip! I looked at the nas.sql file, and in my version (2.1.8) the server field is commented out. # # Table structure for table 'nas' # CREATE TABLE nas ( id int(10) NOT NULL auto_increment, nasname varchar(128) NOT NULL, shortname varchar(32), type varchar(30) DEFAULT 'other', ports int(5), secret varchar(60) DEFAULT 'secret' NOT NULL, # server varchar(64), community varchar(50), description varchar(200) DEFAULT 'RADIUS Client', PRIMARY KEY (id), KEY nasname (nasname) ); I'll make the changes to the db and to the nas_query and see how things work out. Thanks again.
participants (2)
-
Alan DeKok -
Jiann-Ming Su