Setup For UniFi

Update on 25th Sept 2015, two new settings have been added into this tutorial to enhance the security, please scroll to the bottom part to view them.

This setup guide is applicable for most MikroTik routers and RouterOS devices, specifically RB3011UiAS-RM, RB2011UiAS-2HnD-IN, RB2011UiAS-RM, RB951G-2HnD, RB951Ui-2HnD, hAP ac, hAP ac lite, RB750Gr3, RB750Gr2 and many others.

You are advised to start using this guide on a brand new router with factory default configuration, as your existing setup may conflict with new settings.

Plug the Ethernet cable from UniFi BTU/modem to port number 1 of the router.

Plug the Ethernet cable from your computer to port number 2 of the router.

Wait for about 10 seconds to have the IP address assigned to your computer.

Open your favorite browser and go to http://192.168.88.1, you will come to a page where MikroTik WebFig is located.

Click on “Interfaces” on the left side menu.

Click on “VLAN” on top.

Click on “Add New” to add a new VLAN.

Change the values in the boxes (Name, VLAN ID, Interface) as shown in the screenshot below.

Click “OK” on top to complete.

Now you have the VLAN on the list.

Click on “PPP” on the left side menu.

Click on “Add New” to reveal a drop down list.

Select “PPPoE Client” from the list.

Change the values as shown below.

Click on the arrow as shown to reveal the options.

Select “vlan500” from the drop down list.

Fill in your UniFi account username and password respectively, as shown below.

That’s all the settings in this page, click “OK” on top to complete.

Click on “IP” on left side menu to reveal a sub-menu.

Click on “Firewall” on the sub-menu.

Click on “NAT” on the top menu.

Click on the item on the list.

Select “unifi” from the drop down list of “Out. Interface”, as shown below.

Click on “OK” to complete.

Click on “DNS” on the left side menu.

Click on the arrow as shown to reveal an input field.

Repeat it to create 4 total field.

Change the values in the fields as shown below.

Click on “Apply” to complete.

Now you should able to connect to the Internet with your computer!

(Updated on 25th Sept 2015)
The steps from here onwards are not necessary for the Internet to work but good to secure your router from any external threats such as DNS amplification.

Click on “Firewall” of the sub-menu of “IP”.

Click on this rule as pointed by the arrow.

Select “unifi” from the drop down list of “In. Interface”, as shown below.

Your settings should be the same as shown below. Then you can click on “OK” to complete.

Click on another rule as pointed by the arrow.

Do the same by selecting “unifi” from the drop down list of “In. Interface”, as shown below.

Your settings should be the same as shown below. Then you can click on “OK” to complete.

Now it is done! After this, you can proceed to setup for HyppTV if you want to enable it.

 

Summary
Setup For UniFi
Article Name
Setup For UniFi
Description
This setup guide is applicable for most MikroTik routers and RouterOS devices, specifically RB3011UiAS-RM, RB2011UiAS-2HnD-IN, RB2011UiAS-RM, RB951G-2HnD, RB951Ui-2HnD, hAP ac, hAP ac lite, RB750Gr3, RB750Gr2 and many others.
Author
Publisher Name
Cloud Store
Publisher Logo

12 Comments on “Setup For UniFi

  1. Hi,

    I’m using MikroTik RB751G in my office to replace Dlink DiR-615. And I’m subscribe for TM Unifi Biz 10. May I know how to setup RB752G?

  2. I have reset few times while following this guide.
    Somehow, when i reach firewall NAT masquerade part, that rule does not appear and when i try to create that rule, there will be an error.

      • yes i am. I’ve managed to dial out to UNIFI now, wifi DHCP for users, but somehow the LAN cant reach UNIFI. how can I copy my log and send it to you?

        • Hi Rick,

          Can you tell me your router IP and the default gateway address that your computer in LAN get?

          Cloud Store

Leave a Reply to lista de emails Cancel reply

Your email address will not be published. Required fields are marked *

*