Rejecting access by IP

Laura Steynes laura.steynes72 at
Sun Jun 26 05:52:37 CEST 2016


I am trying to reject without trying access database, any one from an IP

In this case it is 121.32.x.x

Google has shown some have success using a single IP  use
Calling-Station_Id ==   But I need to omit a range, however this
seems not to work, any ideas or suggestions muchly appreciated.

if (Calling-Station-Id =~ /^121.32/ {
                update reply {
                                   Reply-Message = "GeoAccess Error"


More information about the Freeradius-Users mailing list