06-09-2014 05:28 AM - edited 03-03-2019 07:26 AM
Hi,
I am setting up a broadband architechture using freeradius and cisco router as a NAS. I am unable to disconnect PPPoE sessions using freeradius.
Can you assist for PoD or best possible method to acheive it? It would be a great hekp,
06-09-2014 07:38 AM
Hey i found the solution to it by adding ignore session-key ignore server-key under aaa accounting of cisco radius config. below is the config
aaa server radius dynamic-author
client <radius ip address>
server-key cisco
auth-type any
ignore session-key
ignore server-key
aaa pod server auth-type any server-key cisco
Radius config for radclient is also mentioned below.
# echo "Acct-Session-Id=D91FE8E51802097" > packet.txt # echo "User-Name=somebody" >> packet.txt # echo "NAS-IP-Address=10.0.0.1" >> packet.txt # cat packet.txt | radclient -x 10.0.0.1:3799 disconnect ''secret'' Sending Disconnect-Request of id 214 to 10.0.0.1 port 3799 Acct-Session-Id = "D91FE8E51802097" User-Name = "somebody" NAS-IP-Address = 10.0.0.1 rad_recv: Disconnect-ACK packet from host 10.0.0.1 port 3799, id=214, length=20
10-11-2018 04:58 AM - edited 10-11-2018 04:59 AM
ignoring server-key is not right, because any one in the network could send pod to your NAS only by spoofing radius server ip address
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide