Remote access to Mikrotik

Defaut template

Remote access to Mikrotik



Print

Remote access to Mikrotik

1. Enable Remote Access on MikroTik Router

  • Open WinBox on your local network and connect to the router.
  • Go to IP > Services.
    • Ensure that the WinBox (TCP 8291) service is enabled.
    • Optional: You can restrict remote WinBox access to specific trusted IPs by clicking on the service and entering the allowed IP range (e.g., 192.168.88.0/24 or your public IP range).

2. Set Up Port Forwarding (if behind another NAT)

If your MikroTik router is behind another NAT (e.g., ISP’s modem/router):

  1. Log into the ISP’s modem/router.
  2. Set up a port forwarding rule to forward the WinBox port (TCP 8291) to the MikroTik’s internal IP address.

For example:

  • External Port: 8291
  • Internal Port: 8291
  • Internal IP Address: [Your MikroTik LAN IP, e.g., 192.168.88.1]

3. Allow Remote Access via Firewall

You need to ensure that the MikroTik firewall allows connections to port 8291 from remote IPs. Use these steps:

  1. Go to IP > Firewall > Filter Rules.
  2. Add a rule to allow WinBox access:
    • Chain: input
    • Protocol: tcp
    • Dst. Port: 8291
    • Src. Address: (Optionally, specify the public IP range of trusted devices to improve security.)
    • Action: accept
  3. Ensure this rule is above any general “drop” rules in the firewall.

4. Access Your Public IP

Find your MikroTik’s public IP address:

  • Go to IP > Cloud and enable DDNS. Use the DDNS name provided (e.g., yourname.sn.mynetname.net).
  • Alternatively, check your public IP address under IP > Address or via a service like WhatIsMyIP if you don’t have dynamic DNS.

5. Connect Remotely via WinBox

  1. Open WinBox on your remote PC.
  2. In the Connect To field, enter the router’s public IP or DDNS name:
    • Example: 1.2.3.4 or yourname.sn.mynetname.net.
  3. Enter your MikroTik username and password.
  4. Click Connect.

6. Secure Your Remote Access

To enhance security:

  • Change the default WinBox port from 8291 to a custom port under IP > Services.
  • Use a strong admin password.
  • Limit access to specific IP addresses in Firewall or Services.
  • Regularly update your MikroTik RouterOS to patch vulnerabilities.
Table of Contents