Hotspot configurations and another doubts

Hi all,

I’m configuring my first hotspot with Mikrotik and I’m with some problems. See bellow the configuration of my network:

  • I’m using Mikrotik 3.0rc4;
  • I’m making the wireless authentication of the MAC addresses on the FreeRadius
  • I’m making the hotspot authentication on a FreeRadius server;

Mikrotik box:
wlan1 200.200.200.1
ether 192.168.0.2
Gateway default: 192.168.0.1

Network gateway:
ether1 192.168.0.1
ether2 201.201.201.2

I create a hotspot on the wlan1 of the Mikrotik and I tested 2 authentications type: MAC and User/Password. In both cases everthing works fine unless the http. I can’t browse the internet from the hotspot client machine.

If I run a tcpdump on my network gateway I see that all traffic from the Mikrotik machine arrives with the IP 192.168.0.2 and not with the IP address of the hotspot customer. I tested it with and without masquerade and the result is the same. This occours with http traffic just. I checked the http proxy but it was disabled on the mikrotik.

I like that the mikrotik just do the routing of the traffic and the traffic arrives on my network gateway with the IP address of the client.

I need of some suggestions too:

  • Can I send a comment to the registration table when the user has the MAC authenticated on the FreeRadius?
  • Can I define in the FreeRadius if the customer will log in on the hotspot using USERNAME/PASSWORD or just using MAC? I’ve some customers that don’t what authentication with username/password but I don’t want to do this on the mikrotik, I want to control this using the radius server.
  • I’ll use 3 wireless interfaces on the RB333 and I’ll run the hotspot on it. How can I configure just one hotspot for the three interfaces? Have I to put the 3 interfaces on a bridge and configure the hotspot to the bridge?

Regards

Fabrício F. Kammer

Hello can u past your configuration and when u login were u able to ping ur gateway from the client pc? check if your dns was properly configured