[Wiki] Mikrotik Telekom Malaysia UniFi Setup Guide

Hi all, I’ve created, in the wiki, a Mikrotik setup guide for users of Malaysia’s UniFi broadband service. Just a beginner’s guide, nothing too technical and with plenty of screenshots. I hope this will be useful to anyone in or coming to Malaysia. It’s here:

Mikrotik Telekom Malaysia UniFi Setup Guide

When I bought my first Mikrotik router, I had trouble finding instructions for setting it up. The first two places I looked were Mikrotik’s forums and its Wiki. Didn’t find anything here. In the end, Google helped me locate one and I was happy. However, the guide that I followed was flawed. I didn’t realise it at that time but I was unknowingly contributing to a DDNS amplification attack due to a misconfigured firewall drop filter. Even today, there many flawed guides in blogs or forums waiting to catch their next victim. So I hope my guide will prevent new Malaysian Mikrotik users from falling into the same situation.

While this guide is written specifically for UniFi, if your ISP uses the same setup, PPPoE and VLANs for delivering Internet, IPTV and VOIP traffic, you can still use it by substituting the correct VLAN ids.

Have fun & cheers!

Hi soonwai,

This is Mastor from Nichia Malaysia. I purchased MikroTik hEX router to replace standard DIR-615 Unifi router.
I followed all your setup for Unifi and it can work perfectly.

But our Unifi package comes with 5 Fixed IP addresses whereby one IP is assigned at the gateway and
the other 4 would be assigned for our internal usage (Wi-Fi, Cisco VPN etc).

  1. How to configure this in hEX router?
  2. How to secure this hEX router from external attacks?

Please help.
Thank you very much for your help in advance.

Regards,
Mastor

Just set your others IP Address with the comment below

/ip address add address=“YOUR-OTHER-PUBLIC-IP” network=“YOUR-PUBLIC-IP-NETWORK” interface=“YOUR-WAN-INTERFACE”

Hi Soonwai,
I was looking for a router that can do vlan trunk. Can this router support vlan trunk or combine 2 vlan (500+600) on 1 port? So that both internet and iptv vlan can be extend to another router.
If can, can you share guide to do the setup?

Thanks in advance
Zack

hello
thank you for your guide. i have successfully change my unifi modem with mikrotik rb750r2. please guide me to add vlan on port 2-5. i’m not using iptv. i have follow this post but no luck.
tq.

http://forum.mikrotik.com/t/port-based-vlan-in-750up/78661/1

Hiii…zamri here…pls help..
can i use rb1100ahx2 become unifi router and hotspot gateway in the same router…??

Yes can.

Sent from my SM-G900F using Tapatalk

Yes can.

Sent from my SM-G900F using Tapatalk

Hi Soon Wai,

Thank you for this guide. I have successfully configured my Mikrotik HEX POE router using you guide. However i am having difficulties trying to get the voip phone on the maxis router to work.

I have configured the HEX POE router as my primary router and the Maxis router as secondary. DHCP and WLAN has been disabled on the maxis router.
I also configured the vlan for voip on the HEX router but it does not seem to be working so i think i must have miss something out.

What should i do next?

Thank you.

Hi, anyone using ccr1009 for Unifi? I have 1 configured, IPTV is working fine, but cannot access to internet. Seems like the ppoe dialer trying to connect, but got disconnect. Username password is correct..using my old RB2011UiAS-2HnD-IN it works. Can anyone help?
IMG-20180807-WA0005.jpeg

The 5 FIX IP package has couple ways of doing it, depends on whether you are doing the dialup at your HEX or you are doing a drop-in mode where the 5 fix IP is pipe through the firewall sitting at the back of your HEX, and whether the traffic is NAT or not.

To secure your HEX, look at the IP-Firewall page, there is a rule that drop all the INPUT to your HEX, change the incoming interface at that rule accordingly, more or less you are safe for now.

if port 2-5 work like a switch, then you just create a bridge and add all ports 2-5 into the switch, then create a VLAN sitting on the bridge.

here, https://forum.lowyat.net/topic/2710206, but can get pretty complicated the whole process.

Hi Soon Wai, Ive updated my firmware to routeros-smips-6.43.1.npk on my MikroRB941-2nD. Previous firmware was v6.40.9. and unifi was working but now the interface Master port is missing in this new firmware. How to setup tm unifi without the master port option. tq

PS: pls see ur https://wiki.mikrotik.com/wiki/Mikrotik_and_Telekom_Malaysia_UniFi_Setup_Using_QuickSet_-_by_arpee/soonwai on port 5 setup

can someone advice on how to setup unifi using latest firmware 6.43.7 please? i stuck at port number to change the master port to none. thanks

As some of you have pointed out to be stuck halfway thru the steps, I have compiled the guide for current Mikrotik Firmware version 6.43.7:
https://www.evernote.com/client/snv?noteGuid=5b32555e-8d6d-49f7-a206-ed75d87f86a0&noteKey=8da94a1dd8fbe9c1&sn=https%3A%2F%2Fwww.evernote.com%2Fshard%2Fs97%2Fsh%2F5b32555e-8d6d-49f7-a206-ed75d87f86a0%2F8da94a1dd8fbe9c1

I’d be more than happy to update the wiki guide unfortunately it is not possible to create an account to to edit the page.

do i need to bridge vlan500 to all port. i.e. ether3, ether4

Hi,

I am currently using a HEX as my main router. Everything is good with Unifi internet (port 2-4) and hypptv (port5) connection. However, now i need to extent the VLAN connection to another switch/router. I am having OpenWRT (with TP-WR1043ND). I have been trying to configure the VLAN trunking/tagging from port 5 of Mikrotik to WAN/LAN port of OpenWRT but failed. Can any one please help? I tried few guides below but no success.

https://klseet.com/?view=article&id=94:mikrotik-rb750-vlans-trunking&catid=279

https://forum.lowyat.net/topic/1733801

There’s a slim chance that Soonwai will reply, but with the updated guidance that all VLANs use one bridge and use VLAN isolation ports, will there be an updated guide that uses this new provisioning way?

Mikrotik now recommends to create only one bridge, and use port VLAN isolation to separate VLAN traffic on that bridge.