Hi All,
We’ve got a RB493 with an existing hotspot configured to use “usermanager” for authentication (currently used for visitors).
Is it possible to add another hotspot to a different interface BUT doing a Raduis check to a Windows 2003 radius server?
Steps taken so far (that doesn’t work for the remote radius):
ip hotspot setup for ether2
radius add service=hotspot address=127.0.0.1 secret=****
ip hotspot profile set hsprof1 use-radius=yes
tool user-manager customer add login=hotspot password=**** permissions=owner
tool user-manager router add subscriber=hotspot ip-address=127.0.0.1 shared-secret= **** (all ok up to this point & can log onto http://public IP/usermanager)
Additions:
ip hotspot setup for ether4
radius add service=hotspot1 address=192.168.61.2 secret=****
ip hotspot profile set hsprof2 use-radius=yes
Added 192.168.1.1 (IP attached to ether4) as allowed to talk to radius server
The hotspot has been running succesfully for visitors but the boss wants the internal users to now authenticate against the RB493 & AD..
Any suggestions where I’m going wrong?
Cheers
Steve
Ip address 127.0.0.1 WON’T work as its a loop-Back IP and work ONLY if you use Hotspot and Radius in a Single Router. You have to add Windows 2003 Radius IP in Mikrotik Router and Vice Versa.
Thanks guys,
I shall hopefully clarify -the first setup worked and did what we wanted for visitors i.e. a hotspot that we could easily add/delete users, web interface & was easy for users to use etc..
Then because it was easy to use the boss wants the student radios to go through the same (currently they connect via a RoamAD gateway & have proxies etc to configure which can be confusing for some of tech’s let alone the customers!)
So basically we want to keep the ease of the Hotspot/Usermanager and add a second that calls to the Windows radius & checks AD for the students (currently have VPN connections doing this).
Currently I’m not at work so don’t have access to the test network but I will try the suggestions. Just one query -is it possible to setup the usermanager to go to the ether2 interface IP (all the doc’s I’ve read say use the loopback)?
Cheers
Steve
If usermanager is on that RB493, then I think the 127.0.0.1 address should work for the radius IP. I have not used it. I use all remote radius servers.
Ok, after a week from hell with our phone systems I’ve been able to get back to this. I can get eth4 with remote radius server OR I can get eth2 with local radius & usermanager working but not both together..
Current config (which only has eth4 with remote radius server working) : /ip hotspot profile
set default dns-name=“” hotspot-address=0.0.0.0 html-directory=hotspot
http-cookie-lifetime=3d http-proxy=0.0.0.0:0 login-by=cookie,http-chap
name=default rate-limit=“” smtp-server=0.0.0.0 split-user-domain=no
use-radius=no
add dns-name=hotspot02.eit.campus hotspot-address=192.168.54.1
html-directory=hotspot http-cookie-lifetime=3d http-proxy=0.0.0.0:0
login-by=cookie,http-chap name=hsprof1 nas-port-type=wireless-802.11
radius-accounting=yes radius-default-domain=eit.conference
radius-interim-update=received radius-location-id=“”
radius-location-name=“” rate-limit=“” smtp-server=0.0.0.0
split-user-domain=no use-radius=yes
add dns-name=hotspot01.eit.student hotspot-address=192.168.61.1
html-directory=hotspot http-proxy=0.0.0.0:0 login-by=http-chap name=
hsprof2 nas-port-type=wireless-802.11 radius-accounting=yes
radius-default-domain=eit.student radius-interim-update=received
radius-location-id=“” radius-location-name=“” rate-limit=“” smtp-server=
0.0.0.0 split-user-domain=no use-radius=yes
/ip hotspot user profile
set default idle-timeout=none keepalive-timeout=2m name=default shared-users=
1 status-autorefresh=1m transparent-proxy=no
Sort of…
hsprof1 should be talking to the local Radius i.e. Usermanager -I’ve tried this on 127.0.0.1 & 192.168.54.1 (the IP of eth2) and both work only if radius for hsprof2 is disabled.
hsprof2 is talking to a remote IAS Radius server (10.0.1.86). Enabling this seems to break usermanager functionality.
DOes this make sense?
Yay! All working,
Thanks for the help SurferTim & ashish, after reimaging the RB493 and adding your snippets of info I can now run both remote Active Directory authentication & local Usermanger authentication on different interfaces. I also used http://wiki.mikrotik.com/wiki/AAA_with_Active_Directory which I discovered after the original post (didn’t appear in a search for Radius)
Happy to post my config if anyone wants to see Note: I had to reimage via netinstall as I found a setup r or a system reset-configuration would not remove the Radius or Hotspot confs