Skip to content
AdminKit

WinBox (MikroTik, port 8291)

What is WinBox (MikroTik, port 8291)?

WinBox is MikroTik's small graphical utility for administering RouterOS routers. It connects to the router's winbox service, which listens on TCP port 8291 by default, or to the router's MAC address on the local network. AdminKit's glossary explains why port 8291 should be restricted to trusted management addresses.

By AdminKit team, Netbase JSC · Updated

WinBox is the graphical management tool for MikroTik routers running RouterOS. The MikroTik WinBox documentation describes it as a small utility for administering RouterOS through a fast and simple GUI, which mirrors the router’s command-line menus. To connect, you enter the router’s IP address or MAC address, a username and a password; connecting by MAC address works only on the local network segment. Over IP, WinBox talks to the router’s winbox service, which MikroTik’s IP services page lists on TCP port 8291 next to telnet, ssh, www and the API. Because WinBox has full administrative power over the router, an internet-facing port 8291 exposes the device’s whole configuration to password guessing and to any flaw in the service; MITRE ATT&CK lists external-facing remote services as a common way adversaries gain initial access to a network. RouterOS lets every IP service carry an address setting that limits which networks may connect, so the safer setup is to disable services you don’t use, allow winbox only from a management network or VLAN, and never add a port forwarding rule for 8291. NIST SP 800-41, the federal guideline on firewalls and firewall policy, covers writing rules that restrict which hosts can reach such services. MikroTik’s first time configuration guide walks through initial setup, including the default configuration’s basic firewall rules. A RouterOS command that limits the service to one management subnet looks like this:

/ip service set winbox address=192.0.2.0/24

(192.0.2.0/24 is a documentation range.) The same reasoning applies to Telnet and other well-known ports on network equipment.

AdminKit groups WinBox under its IP and network cluster — browse the AdminKit glossary index for other related terms.

Frequently asked questions

What port does WinBox use?

The RouterOS winbox service listens on TCP port 8291 by default, as shown in MikroTik's IP services documentation. The port can be changed, and WinBox lets you enter a port number after the IP address.

Can WinBox connect without an IP address?

Yes. MikroTik's documentation describes connecting by entering either the router's IP address or its MAC address, which works on the same local network segment.

How do I restrict access to WinBox?

RouterOS lets each IP service carry an address setting, so the winbox service can be limited to a management subnet. Disabling services you do not use and firewalling port 8291 from the internet are the usual steps.

Is WinBox the only way to manage a MikroTik router?

No. RouterOS also offers SSH, a web interface and an API, which appear in the same IP services list as winbox.