VyBeV |
02-26-2008 05:04 PM |
FreeRadius Question
Hi, i already have a FreeRadius working properly.
Just created a realm in the users file
Code:
DEFAULT Realm = "testdomain.com", Calling-Station-Id := "1", Called-Station-Id := "2"
Framed-Compression = Van-Jacobson-TCP-IP,
Fall-Through = No,
Cisco-Account-Info = "2048K"
and added the entry in the proxy.conf
Code:
realm testdomain.com {
type = radius
authhost = 200.3.24.88:1645
accthost = 200.3.24.88:1646
secret = 03lqq
}
it works ok.
When i do a radtest these are the items sent:
Code:
radtest joe@testdomain.com somepwd radius 3 ssgpwd 0 200.3.7.68
Sending Access-Request of id 251 to 200.3.7.133 port 1812
User-Name = "joe@testdomain.com"
User-Password = "somepwd"
NAS-IP-Address = 200.3.7.68
NAS-Port = 3
Framed-Protocol = PPP
rad_recv: Access-Accept packet from host 200.3.7.133:1812, id=62, length=94
Framed-Compression = Van-Jacobson-TCP-IP
Service-Type = Framed-User
Cisco-Account-Info = "2048K"
The question is:
what cfg file do i need to modify so i can add two additional items in the access request, like this: (the other radius needs them)
Code:
radtest joe@testdomain.com somepwd radius 3 ssgpwd 0 200.3.7.68
Sending Access-Request of id 251 to 200.3.7.133 port 1812
User-Name = "joe@testdomain.com"
User-Password = "somepwd"
NAS-IP-Address = 200.3.7.68
NAS-Port = 3
Calling-Station-Id = "800323334"
Called-Station-Id = "800323334"
Framed-Protocol = PPP
rad_recv: Access-Accept packet from host 200.3.7.133:1812, id=62, length=94
Framed-Compression = Van-Jacobson-TCP-IP
Service-Type = Framed-User
Cisco-Account-Info = "2048K"
Thanks.
|