[root@localhost ~]# yum install freeradius*
Directory of FreeRadius configuration
[root@localhost ~]# cd /etc/raddb/
[root@localhost raddb]# ls
README.rst clients.conf hints mods-available mods-enabled proxy.conf sites-available templates.conf users
certs dictionary huntgroups mods-config policy.d radiusd.conf sites-enabled trigger.conf
client file
client 172.16.11.250 {
secret = acme
shortname = ECZ720
}
user file
test Cleartext-Password := "test"
Acme-User-Class = "user"
test2 Cleartext-Password := "test2"
Acme-User-Class = "admin"
test3 Cleartext-Password := "test3"
Acme-User-Class = "none"
Directory of FreeRadius log
[root@localhost raddb]# cd /var/log/radius/
[root@localhost radius]# ls
radacct radius.log
[root@localhost radius]#
Try to max access SBC by FreeRadius
User CLI Access Verification
Username: test2
Password:
AcmePacket# show users
Index task-id remote-address IdNum duration type state User
----------------------------------------------------------------------------
0 0x00000064 0 01:59:08 console login user
1 0x00000065 172.16.11.1 1 00:02:05 telnet priv test2
2 0x00000066 172.16.11.1 2 00:01:18 telnet priv test2
3 0x00000067 172.16.11.1 3 00:00:56 telnet priv * test2
4 0x00000068 172.16.11.1 4 00:00:41 telnet priv test2
5 0x00000069 172.16.11.1 5 00:00:18 telnet priv test2
6 0x00000060 172.16.11.1:54405 102 00:04:04 ssh priv test2
7 0x00000061 172.16.11.1:54408 103 00:03:18 ssh priv test2
8 0x00000062 172.16.11.1:54410 104 00:02:59 ssh priv test2
AcmePacket#
댓글 없음:
댓글 쓰기