OK. I have in proxy.conf: realm with_ip { authhost = LOCAL accthost = LOCAL
realm without_ip { authhost = LOCAL accthost = LOCAL
Next I have mysql tables containing usernames: mysql> select * from radcheck; +----+----------+---------+--------------------+----+-------+ | id | username | realm | attribute | op | value | +----+----------+---------+--------------------+----+-------+ | 1 | user | with_ip | Cleartext-Password | := | ip | +----+----------+---------+--------------------+----+-------+ mysql> select * from radgroupcheck; +----+-------------+-----------+----+----------+ | id | groupname | attribute | op | value | +----+-------------+-----------+----+----------+ | 1 | withipgroup | Pool-Name | := | ip_pool | +----+-------------+-----------+----+----------+ mysql> select * from radippool; +----+-----------+-----------------+ | id | pool_name | framedipaddress | +----+-----------+-----------------+ | 1 | ip_pool | 10.0.0.1 | | 2 | ip_pool | 10.0.0.2 | +----+-----------+-----------------+ mysql> select * from radusergroup; +----------+---------+-------------+----------+ | username | realm | groupname | priority | +----------+---------+-------------+----------+ | user | with_ip | withipgroup | 1 | +----------+---------+-------------+----------+
That's good for ip-provided users and it works. But I need to understand how to configure the second user, the without-ip one.
Make just radcheck entry for that one. Ivan Kalik Kalik Informatika ISP