New guide. Old one is here
https://forum.lowyat.net/topic/4202122I'm sure you all will let me know if got any mistakes.
First post is only using terminal and command line.
Second post is using Quickset and a bit of command line.
I'm lazy to put screenshots. Maybe later.
WinboxI suggest using Winbox to configure your Mikrotik router. Download from
https://mikrotik.com/downloadYou can also SSH to the router or use the web configuration page which has a terminal.
DefaultsIP: 192.168.88.1
Username: admin
Password: blank
PortsLAN port 1 (ether1) is your WAN port. (Connect modem here)
LAN Port 2-5 for your devices. Later we can use port 5 for UnifiTV.
Command Line MethodOK, let's goConnect to the router using Winbox and open a New Terminal or use SSH. Change to your Unifi username and password first then copy and paste the commands below
CODE
/system package enable ipv6
/system reset-configuration
/interface vlan add interface=ether1 name=vlan500 vlan-id=500
/interface pppoe-client add add-default-route=yes use-peer-dns=yes disabled=no interface=vlan500 name=pppoe-out1 password=fmsSJQEMtvuTy user=myusername@unifi
/interface list member add interface=pppoe-out1 list=WAN
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=pppoe-out1 type=external
Done. That's all you need for a very basic setup. Internet should be working now.
Explain a bitFirst ensure IPv6 package is enabled. This is just to get the IPv6 firewall rules configured in case we want to setup IPv6 in the future.
CODE
/system package enable ipv6
Reset to default configuration. Very important. Router will be reboot.
CODE
/system reset-configuration
When you reconnect, the router will ask you to change password.
Create VLAN 500.
CODE
/interface vlan add interface=ether1 name=vlan500 vlan-id=500
Create PPPoE Client
CODE
/interface pppoe-client add add-default-route=yes use-peer-dns=yes disabled=no interface=vlan500 name=pppoe-out1 password=fmsSJQEMtvuTy user=myusername@unifi
Add PPPoE client to the WAN interface list
CODE
/interface list member add interface=pppoe-out1 list=WAN
Enable UPNP. Not mandatory but many apps uses UPNP.
CODE
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=pppoe-out1 type=external
WiFi, UnifiTV & IPv6Wait ya.
hi bro. wanna check with you. my office now using some crappy TM router. Fiberhome SR120-A. i can set up mikrotik to run for internet. but phone service wont work. i checked the old router and i believe it has additional vlan set. 209 and 400 i believe. any idea how i can set it up?