Skip to content
RemoteMikroTik

Ahmad Foysal · · 2 min read

Remote Winbox: How to Open Winbox From Outside Your Network

Three ways to get Winbox working from outside your own network, with the exact address and port to use and what to do when it times out.

To use Winbox from outside your network, the router must be reachable on the internet or through a VPN or tunnel. Which of the three ways below fits depends on one thing: whether the router has a public IP address.

Why Winbox only works inside

On your own network Winbox talks to the router directly. From outside, your connection must reach the router through your ISP. If the router's internet address is private, for example 100.64.x.x or 10.x.x.x, your ISP uses CGNAT and drops incoming connections. Check in a minute with am I behind CGNAT.

MAC Winbox does not help here. It works only on the same local network, never across the internet.

Way 1: public IP and a firewall rule

If the router has a real public IP, Winbox uses TCP port 8291. Allow it only from addresses you trust, and keep it above your drop rule:

/ip firewall address-list add list=trusted address=203.0.113.10 comment="my office"
/ip firewall filter add chain=input protocol=tcp dst-port=8291 src-address-list=trusted action=accept place-before=0

Replace 203.0.113.10 with your own fixed address. Then connect to the router's public IP in Connect To. If the router's IP changes, you also need dynamic DNS.

Do not leave port 8291 open to everyone. It is scanned all day.

Way 2: through a VPN

You run a VPN server somewhere with a public IP, the router connects to it, and you connect to the VPN first. Then Winbox goes to the router's address inside the VPN. It works behind CGNAT and on every RouterOS version, but you maintain the server, the users and the routes. See remote access options compared for the trade-offs.

Way 3: a hosted tunnel with no public IP

The router opens an encrypted SSTP tunnel on TCP port 443 out to a server. CGNAT does not block outgoing connections, so this works on mobile data, 4G/5G and Starlink. You get a fixed address and port for Winbox, and nothing to install on your PC or phone.

  1. Create an account at https://remotemikrotik.com and choose Routers → Add router. Winbox for one router is on the Free plan.
  2. Copy the setup script, open New Terminal on the MikroTik, paste it and press Enter.
  3. Copy the Winbox address from the router page, for example vpn1.remotemikrotik.com:1002.
  4. In Winbox paste it into Connect To, keep the port after the colon, and log in with your router's own login (not your panel login).

Full steps with screenshots: Connect with Winbox, WebFig or the API. It works on RouterOS 6 and 7.

If Winbox still times out

  • Is the router online? In the panel it should show Online. If not, the cause is usually power or internet at the site: see router shows offline.
  • Did you type the port? The address needs :port. Without it Winbox tries 8291.
  • Wrong login? Use the router's own username and password.
  • Public IP way: check that the accept rule is above the drop rule, and that you connect from the address in your list.

Common questions

Why does Winbox work at home but time out from outside?

Inside your network Winbox reaches the router directly. From outside, the connection has to cross your ISP, and without a public IP on the router there is nothing for it to connect to. This is usually CGNAT.

Can I use MAC Winbox over the internet?

No. MAC Winbox works only on the same Layer 2 network, such as a cable or Wi-Fi to the router. Over the internet you need an IP address and port.

Which port does Winbox use?

TCP 8291 by default. With RemoteMikroTik you use the address and port shown on the router page, for example vpn1.remotemikrotik.com:1002.

Is it safe to open port 8291 to the internet?

It is risky. Scanners find open Winbox ports quickly. If you do it, allow only your own addresses in the firewall, use a strong password and keep RouterOS updated. A VPN or tunnel avoids opening the port.

Can I use the Winbox mobile app?

Yes. Enter the same address and port in the app's Connect To field.