radiusd sending to wrong NAS port

Frank DiGennaro Frank at DiGennaro.com
Fri Feb 16 16:29:30 CET 2007


   I installed freeradius v1.1.4 (standard build) to authenticate my Cisco
routers. Radius.h defines this:


#define PW_AUTH_UDP_PORT                1812


as it should. My Cisco has this:


radius-server host auth-port 1812 acct-port 1813


as it should. /etc/services is also 1812. So I run radius –x and try to log
into the Cisco. My radius server responds like this:


rad_recv: Access-Request packet from host, id=2, length=88

        NAS-IP-Address =

        NAS-Port = 4

        Cisco-NAS-Port = "tty4"

        NAS-Port-Type = Virtual

        User-Name = "frank"

        Calling-Station-Id = ""

        User-Password = "xxx"

  Processing the authorize section of radiusd.conf

Login OK: [frank] (from client cisco2514 port 4 cli

Sending Access-Accept of id 2 to port 1645

Finished request 1



Like I said, radius.h defines port 1812. What am I missing? 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070216/39f54087/attachment.html>

More information about the Freeradius-Users mailing list