Hi!
I notice Mikrotik is not using the Idle-Timeout provided by Freeradius. I have tried searching for solution here with no avail. Is there any way I can control Idle-Timeout via Freeradius and not hardcoding it in Mikrotik? Thanks for helping guys.
rad_recv: Access-Request packet from host 192.168.1.2 port 41203, id=38, length=185
NAS-Port-Type = Wireless-802.11
Calling-Station-Id = "xx:xx:xx:xx:xx:xx"
Called-Station-Id = "DefaultHotspotServer"
NAS-Port-Id = "ether2"
User-Name = "a"
NAS-Port = 2162163913
Acct-Session-Id = "80e000c9"
Framed-IP-Address = 10.10.100.134
Mikrotik-Host-IP = 10.10.100.134
User-Password = "a"
Service-Type = Login-User
WISPr-Logoff-URL = "http://10.10.0.1/logout"
NAS-Identifier = "Web Portal"
NAS-IP-Address = 192.168.1.2
# Executing section authorize from file /etc/raddb/sites-enabled/default
+- entering group authorize {...}
++[control] returns notfound
Found Auth-Type = AUTH
# Executing group from file /etc/raddb/sites-enabled/default
+- entering group AUTH {...}
[RADAUTH] expand: ' username => %{User-Name}# password => %{User-Password}' -> ' username => a# password => a'
Exec-Program output:
Exec-Program: returned: 0
++[RADAUTH] returns ok
Login OK: [a/a] (from client RB1100 AHX2 port 2162163913 cli xx:xx:xx:xx:xx:xx)
# Executing section post-auth from file /etc/raddb/sites-enabled/default
+- entering group post-auth {...}
[RADATTR] expand: 'username => %{User-Name}' -> 'username => a'
Exec-Program output: Mikrotik-Rate-Limit=2048k/2048k,Session-Timeout=86400,Idle-Timeout=30,Port-Limit=1,
Exec-Program-Wait: value-pairs: Mikrotik-Rate-Limit=2048k/2048k,Session-Timeout=86400,Idle-Timeout=30,Port-Limit=1
Exec-Program: returned: 0
++[RADATTR] returns ok
++[ok] returns ok
Sending Access-Accept of id 38 to 192.168.1.2 port 41203
Mikrotik-Rate-Limit = "2048k/2048k"
Session-Timeout = 86400
Idle-Timeout = 30
Port-Limit = 1
Finished request 393.
Going to the next request