using ippol
Randeep
randeep123 at gmail.com
Fri Jun 19 08:39:07 CEST 2015
Hi all,
I'm trying to configure freeradius to send the ip for the user.
In the radiusd.conf i have uncommented $INCLUDE sqlippool.conf
in the sqlippool.conf,
I have enabled mysql ippool.conf
in the file /etc/raddb/modules/ippool,
I have defined ippool main_pool.
And specified the range, netmask etc in the block.
Key I have specified as
key = "%{NAS-IP-Address} %{NAS-Port}"
But my radippool table is empty. Do I have to specify anything there?
I'm testing with radtest. I hope this can be tested with it.
In the respose i'm getting like this
[root at localhost ~]# radtest randeep randeep123 192.168.1.182 0 lukup124
Sent Access-Request Id 110 from 0.0.0.0:49548 to 192.168.1.182:1812 length
77
User-Name = 'randeep'
User-Password = 'randeep123'
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Message-Authenticator = 0x00
Cleartext-Password = 'randeep123'
Received Access-Accept Id 110 from 192.168.1.182:1812 to 0.0.0.0:0 length 56
Framed-Protocol = PPP
Framed-IP-Netmask = 255.255.255.0
Framed-MTU = 1500
Framed-Routing = Broadcast-Listen
Framed-Compression = Van-Jacobson-TCP-IP
Service-Type = Framed-User
[root at localhost ~]#
Do I have to give sqlippool or mainpool in
authenticate/authorize/account/preauth in sites-enabled/default?
Please advice.
Regards,
Randeep
More information about the Freeradius-Users
mailing list