Using radtest on port 1645
Adam Bishop
Adam.Bishop at jisc.ac.uk
Thu Feb 23 04:29:05 CET 2017
On 23 Feb 2017, at 03:17, Brett Glasson <Brett.Glasson at max.com.au> wrote:
> Note the part where radtest has ignored the provided port 1645 and has gone ahead and used 1812 anyway, although the NAS-Port is (correctly shown as being 1645 later on.
The NAS-Port attribute and the UDP port used by FreeRADIUS aren't the same thing - NAS port is a hint to the RADIUS server about (if you were using a wired NAS) which physical port has a wire hanging out of it.
You need to append :1645 to send the request to a different UDP port, e.g.:
$ radtest test testpass 1.2.3.4:1645 10 testing123
Regards,
Adam Bishop
gpg: E75B 1F92 6407 DFDF 9F1C BF10 C993 2504 6609 D460
jisc.ac.uk
Jisc is a registered charity (number 1149740) and a company limited by guarantee which is registered in England under Company No. 5747339, VAT No. GB 197 0632 86. Jisc’s registered office is: One Castlepark, Tower Hill, Bristol, BS2 0JA. T 0203 697 5800.
Jisc Services Limited is a wholly owned Jisc subsidiary and a company limited by guarantee which is registered in England under company number 2881024, VAT number GB 197 0632 86. The registered office is: One Castle Park, Tower Hill, Bristol BS2 0JA. T 0203 697 5800.
More information about the Freeradius-Users
mailing list