Community discussions

MikroTik App
 
mhykari
just joined
Topic Author
Posts: 4
Joined: Wed Jan 15, 2020 11:57 am

radius timeout problem

Sun Oct 31, 2021 4:02 pm

hi everyone
i have a rb1100 ahx4 with routeros 6.48.5
i have config and use radius with usermanager for hotspot and vpn many times everywhere with no problem even in another rb1100 ahx4.
but in this rb1100 ahx4 it dosnt work.
the problem is "radius timeout' error
i tried all of the topic's in internet, i changed routeros version to 6.49 and roll back to 6.48.5 again
i tried 127.0.0.1 as radius server ip in usermanager and radius server in mikrotik, tried to create a bridge and set ip's on it, rebuild, remove and install usermanager package again, increased timeout in radius setting to 2000ms, even reset router to factory but still have the "radius timeout' error.
there is no log or connection in usermanager logs
can anyone help me plz
here is my radus and usermanager config:

/interface bridge
add name="bridge3-Hotspot test" protocol-mode=none

/ip address
add address=192.168.100.1 comment=Hotspot interface="bridge3-Hotspot test" network=192.168.100.1

/radius
add address=192.168.100.1 secret=hami service=ppp timeout=2s
/radius incoming
set accept=yes

/tool user-manager customer
set admin access=own-routers,own-users,own-profiles,own-limits,config-payment-gw password=hami
/tool user-manager profile
add name=test name-for-users="" override-shared-users=off owner=admin price=0 starts-at=logon validity=0s
/tool user-manager profile limitation
add address-list="" download-limit=5368709120B group-name="" ip-pool="" ip-pool6="" name=test owner=admin transfer-limit=5368709120B upload-limit=5368709120B uptime-limit=0s
/tool user-manager database
set db-path=user-manager
/tool user-manager profile profile-limitation
add from-time=0s limitation=test profile=test till-time=23h59m59s weekdays=sunday,monday,tuesday,wednesday,thursday,friday,saturday
/tool user-manager router
add coa-port=3799 customer=admin disabled=no ip-address=192.168.100.1 log=auth-ok,auth-fail,acct-ok,acct-fail name=HSSH-M shared-secret=hami use-coa=yes
/tool user-manager user
add customer=admin disabled=no ipv6-dns=:: password=samisami shared-users=1 username=samisami wireless-enc-algo=none wireless-enc-key="" wireless-psk=""

and i enabled radius "use radius" option in ppp secrets too.

this picture is radius debug and log:


Image
 
mhykari
just joined
Topic Author
Posts: 4
Joined: Wed Jan 15, 2020 11:57 am

Re: radius timeout problem

Sun Nov 14, 2021 8:32 am

Thanks All
the problem was the masquarade nat rule on the top
i dont know why but by disabling the na trule ar make a srcnat instead the problem solved
 
User avatar
Shahid
newbie
Posts: 25
Joined: Sat Nov 05, 2016 3:31 am
Location: Multan, Pakistan
Contact:

Re: radius timeout problem

Mon Oct 17, 2022 1:54 am

Thanks All
the problem was the masquarade nat rule on the top
i dont know why but by disabling the na trule ar make a srcnat instead the problem solved
for solution check this out
viewtopic.php?p=962134#p962134

Who is online

Users browsing this forum: No registered users and 16 guests