Nasser Heidari

2009-10-10

Freeradius checkval module

Filed under: Linux — Nasser Heidari @ 17:14

radiusd.conf:



checkval NAS_IP {
item-name = NAS-IP-Address
check-name = NAS-IP-Address
data-type = ipaddr
nofound-reject = no
}


authorize {
preprocess


sql_auth
NAS_IP


}

And then we need A/V Pair for each user like this:

test Auth-Type := Local, User-Password := 123321, NAS-IP-Address :=
1.2.3.4

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: