yeah you are right. realized that the ports value is actually not in use. it actually get the shortname not the nasname which is why i get an 'unknown client' error. i left the shortname empty. ________________________________ From: Fajar A. Nugraha <list@fajar.net> To: FreeRadius users mailing list <freeradius-users@lists.freeradius.org> Sent: Thursday, September 8, 2011 11:40 AM Subject: Re: Specifying Any Port for RADIUS Client On Thu, Sep 8, 2011 at 10:15 AM, Det Det <det.explorer@yahoo.com> wrote:
please disregard this email. I thought that the 'ports' field in 'nas' table means the 'source' port the client will use to connect to the RADIUS server when it actually means the port on the RADIUS server that the client will connect to.
I don't think that's the case. While the default nas table has many columns (including ports), the default query on dialup.conf is nas_query = "SELECT id, nasname, shortname, type, secret, server FROM ${nas_table}" ... which should mean only those columns are used. -- Fajar - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html