Miikrotik with Ubiquiti's Unifi

Hi there,

I’m having a problem here setting up a Mikrotik RB750 as a hotspot for my 3 Ubiquiti Unifi units. I want to setup a hotspot but i cannot use the built-in hotspot in Unifi because it needs a PC to be up and running and i can’t have a PC running just for this.

I’ve created two WLANs on Unifi, a private one, which i haven’t set a VLAN for it, and a public one, with VLAN set as 256.

On the RB750, i’ve created a new VLAN port named guest_wifi, attached to port eth2, which is the port where my network switch is connected to, and my 3 Unifi are connected to this switch.

I’ve setup a DHCP server to watch on guest_wifi, and setup the hotspot on Mikrotik to watch on this same port.

When i join the public WLAN from a client, i’m getting my ip correctly from DHCP as well as all the configuration my DHCP server provides (DNS, GATEWAY,etc).

But when i try to open any website, let’s say, www.ubnt.com, it tries to redirect to Mikrotik but cannot connect to it.

I tried adding a rule to the hotspot’s Wallen Garden, to allow all connections to the address of the guest_wifi interface. After i’ve added this rule, i can ping the guest_wifi interface from a connected client, but a traceroute would end in the ip of the guest_wifi interface with a “destination net unreachable”.

What am i doing wrong?

If you have guest policy enabled on Unifi then the restricted subnet feature sounds like it is your issue.

Just close the pc controller. UniFI Units can work standalone in bridge AP-WDS with DHCP Client enabled when server goes way.

Then plug it to your hotspot ethernet interface on the RB. And Mikrotik will take control of your network :slight_smile: