Recently i`ve configured freeradius with mikrotik to connect users via pppoe, pptp or l2tp.
The problem is that, when one user is connected, the other user is unable to connect.
Here are the logs.
--------------------------------------First user connects -------------------------
(46 messages discarded)
echo: radius,debug,packet Calling-Station-Id = “00:50:8D:68:DB:20”
echo: radius,debug,packet Called-Station-Id = “service1”
echo: radius,debug,packet NAS-Port-Id = “bridge1”
echo: radius,debug,packet Acct-Session-Id = “81000000”
echo: radius,debug,packet Framed-IP-Address = 10.194.244.149
echo: radius,debug,packet Acct-Authentic = 1
echo: radius,debug,packet Acct-Status-Type = 1
echo: radius,debug,packet NAS-Identifier = “MikroTik”
echo: radius,debug,packet NAS-IP-Address = 10.194.23.248
echo: radius,debug,packet Acct-Delay-Time = 0
echo: radius,debug,packet received Accounting-Response with id 124 from 10.194.2
3.246:1813
echo: radius,debug,packet Signature = 0x16c0ffe781452ce6261046058ecf4f61
[admin@MikroTik] >
echo: radius,debug received reply for 53:00
echo: radius,debug request 53:00 processed
[admin@MikroTik] >
(8 messages discarded)
---------------------------------- Second user is trying to connect --------------
echo: radius,debug,packet User-Name = “toxie”
echo: radius,debug,packet Calling-Station-Id = “00:C0:26:6D:16:09”
echo: radius,debug,packet Called-Station-Id = “service1”
echo: radius,debug,packet NAS-Port-Id = “bridge1”
echo: radius,debug,packet MS-CHAP-Challenge = 0xc87049d986b943c7773272b9f6c0
76dd
echo: radius,debug,packet MS-CHAP2-Response = 0x0100820169c2908c12b7cfbe01f2
55ef
echo: radius,debug,packet c1c200000000000000004320c48df468
echo: radius,debug,packet 8a58f84d8d4727c73ee24d4a4e886258
echo: radius,debug,packet e85c
echo: radius,debug,packet NAS-Identifier = “MikroTik”
echo: radius,debug,packet NAS-IP-Address = 10.194.23.246
echo: radius,debug could not receive packet for 53:04: Connection refused
[admin@MikroTik] >
(7 messages discarded)
echo: radius,debug,packet User-Name = “toxie”
echo: radius,debug,packet Calling-Station-Id = “00:C0:26:6D:16:09”
echo: radius,debug,packet Called-Station-Id = “service1”
echo: radius,debug,packet NAS-Port-Id = “bridge1”
echo: radius,debug,packet MS-CHAP-Challenge = 0xc87049d986b943c7773272b9f6c0
76dd
echo: radius,debug,packet MS-CHAP2-Response = 0x0100820169c2908c12b7cfbe01f2
55ef
echo: radius,debug,packet c1c200000000000000004320c48df468
echo: radius,debug,packet 8a58f84d8d4727c73ee24d4a4e886258
echo: radius,debug,packet e85c
echo: radius,debug,packet NAS-Identifier = “MikroTik”
echo: radius,debug,packet NAS-IP-Address = 10.194.23.246
echo: radius,debug could not receive packet for 53:04: Connection refused
[admin@MikroTik] >
(7 messages discarded)
echo: radius,debug,packet User-Name = “toxie”
echo: radius,debug,packet Calling-Station-Id = “00:C0:26:6D:16:09”
echo: radius,debug,packet Called-Station-Id = “service1”
echo: radius,debug,packet NAS-Port-Id = “bridge1”
echo: radius,debug,packet MS-CHAP-Challenge = 0xc87049d986b943c7773272b9f6c0
76dd
echo: radius,debug,packet MS-CHAP2-Response = 0x0100820169c2908c12b7cfbe01f2
55ef
echo: radius,debug,packet c1c200000000000000004320c48df468
echo: radius,debug,packet 8a58f84d8d4727c73ee24d4a4e886258
echo: radius,debug,packet e85c
echo: radius,debug,packet NAS-Identifier = “MikroTik”
echo: radius,debug,packet NAS-IP-Address = 10.194.23.246
echo: radius,debug could not receive packet for 53:04: Connection refused
[admin@MikroTik] >
echo: radius,debug timeout for 53:04
[admin@MikroTik] >
The usernames and the passwords are ok.
When i tried to connect one user to one MT and the second user to another mikrotik everything works fine.But when im using only 1 MT, only one user can be logged in. Does anybody had some issues like this before ? Its really annoying me, cause i can`t figure it out where could be the problem.
P.S. While the first user is connected and the 2nd user initiate the connection, the packets simply does not reach the radius server.
I started radius with radiusd -X .