Accessing a Mikrotik router through the internet

Accessing-a-Mikrotik-router-through-the-internet

Accessing a Mikrotik router through WinBox the internet

By default, Mikrotik will not allow a connection from WinBox over the WAN. Here is how you change that.

From WinBox or web:

  • Click on IP, then Firewall, then Filter Rules.
  • Click the + to add a new rule.
  • Change Chain to input.
  • Change Protocol to tcp.
  • Change Dst. Port to 80 (web) or 8291.
  • Click on the Action tab and make sure Action is set to accept.
  • Click Comment and name it something like “winbox”.
  • Click OK.

IMPORTANT:
Your new Filter Rule will be at the bottom of the list. Drag it up above the last “drop” rule from the default configuration.
Filter Rules are matched in order. They start at the top and work through each one. If your new rule is AFTER the “drop” rule, it will not work.

Through the command line, the rules will look like this:

To pick up the list, you can do this:

Or in the command itself, we indicate that you need to place the rule at the very beginning of the list:

Also in the menuIP -> Services in the parameters of the desired service, you can add Available From the list of IP addresses from which you want to allow access. Access is restricted to both local and external addresses, so first of all you need to add the IP or subnet with which you are currently connected.

I’ll give an example of specifying IP through a terminal for example for telnet (similar to ftp, www, ssh, winbox):