Policy Based on NAS IP address

Konstantin Chekushin koch2 at inbox.lv
Wed Sep 15 13:15:03 CEST 2010


 for example:
 server exampe_acct {
          listen {
                 
 type = acct
                 
 ipaddr = *
                 
 port = 1813
          }
          accounting
 {               
                 
 if (request:NAS-IP-Address == '1.1.1.1') {
                    
 blablabla
                 
 }
                 
 else {
                    
 blablabla
                 
 }
          }
  }
 ?
  Quoting *Nasser Heidari <nasser at rasana.net>*:
> Hi,
>  Is it possible to apply special policy based on NAS IP Address, for
>  example I want to check originating ip address for special NAS or
> set IP
>  Address pool for the other NAS .
>  Thanks in advance
> 
>  -
>  List info/subscribe/unsubscribe? See
> http://www.freeradius.org/list/users.html
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20100915/a10e041d/attachment.html>


More information about the Freeradius-Users mailing list