help:[freeradius+mysql]destination unreachable(host administratively prohibited)

gary gary.yang at browan.com
Wed Jul 27 12:17:34 CEST 2011


Hi All
I have trouble about freeradius+mysql.
I configured freeradius(2.1.10) +mysql(5.5.14) and selftest by radtest everything is okay.
But when I try external nas client it always returns "null response".
the setup as below.
PC(client)<===>wireless AP(nas,192.168.21.223)<===>radius server(192.168.21.30)
my nas table:
mysql> select * from nas;
+----+--------------------+---------------------+-------+----------+--------------+----------+---------------+---------------------+
| id | nasname              | shortname           | type  | ports     | secret         | server    | community | description         |
+----+--------------------+---------------------+-------+----------+--------------+----------+---------------+---------------------+
|  1 | 192.168.21.223   | 192.168.21.223  | other |  NULL | testing123 | NULL   | NULL        | RADIUS Client |
|  3 | 127.0.0.1             | localhost             | other |  NULL | testing123 | NULL   | NULL        | RADIUS Client |
+----+--------------------+---------------------+-------+----------+--------------+-----------+---------------+--------------------+
radcheck table:
mysql> select * from radcheck;
+----+--------------------+-------------------+----+--------+
| id   | username           | attribute            | op | value  |
+----+--------------------+-------------------+----+--------+
|  1   | gary                  | User-Password | := | gary     |
|  2   | test                    | User-Password | := | test      |
|  3   | 001d09cb2715  | User-Password | := | test      |
+----+--------------------+-------------------+----+--------+

192.168.21.223 is the wireless AP(nas) and my radius server is 192.168.21.30.
I am using wireshark to capture the packets and it shows "destination unreachable(host administratively prohibited)".
see screenshot as below. Can anyone help me?


Best Regards
Gary
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110727/16e643ac/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radius1.JPG
Type: image/jpeg
Size: 65573 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110727/16e643ac/attachment.jpe>


More information about the Freeradius-Users mailing list