Mikrotik Winbox Tutorial
Mikrotik Winbox Tutorial
Mikrotik Winbox Tutorial
com 1
Manual:Winbox
Summary
Winbox is a small utility that allows administration of Mikrotik RouterOS using a fast and simple GUI. It is a native
Win32 binary, but can be run on Linux and Mac OSX using Wine.
All Winbox interface functions are as close as possible to Console functions, that is why there are no Winbox
sections in the manual.
Some of advanced and system critical configurations are not possible from winbox, like MAC address change on an
interface.
When winbox.exe is downloaded, double click on it and winbox loader window will pop up:
Manual:Winbox 2
To connect to the router enter IP or MAC address of the router, specify username and password (if any) and click on
Connect button.
Note: It is recommended to use IP address whenever possible. MAC session uses network broadcasts and is
not 100% reliable.
You can also use neighbor discovery, to list available routers by clicking on [...] button:
From list of discovered routers you can click on IP or MAC address column to connect to that router. If you click on
IP address then IP will be used to connect, but if you click on MAC Address then MAC address will be used to
connect to the router.
Note: Neighbor discovery will show also devices which are not compatible with Winbox, like Cisco routers
or any other device that uses CDP (Cisco Discovery Protocol)
Interface Overview
Winbox interface has been designed to be intuitive for most of the users. Interface consists of:
• Main toolbar at the top where users ca add various info fields, like CPU and memory usage.
• Menu bar on the left - list of all available menus and sub-menus. This list changes depending on what packages
are installed. For example if IPv6 package is disabled, then IPv6 menu and all it's sub-menus will not be
displayed.
• Work area - area where all menu windows are opened.
Title bar shows information to identify with which router Winbox session is opened. Information is displayed in
following format:
[username]@[Router's IP or MAC] ( [RouterID] ) - Winbox [ROS version] on [RB model] ([platform])
From screenshot above we can see that user admin is logged into router with IP address 10.1.101.18. Router's ID is
MikroTik, currently installed RouterOS version is v5.0beta1, RouterBoard is RB800 and platform is PowerPC.
On the Main toolbar's left side is located undo and redo buttons to quickly undo any changes made to configuration.
On the right side is located:
• winbox traffic indicator displayed as a green bar,
• indicator that shows whether winbox session uses TLS encryption
• checkbox Hide password. This checkbox replaces all sensitive information (for example, ppp secret passwords)
with '*' asterisk symbols.
Manual:Winbox 4
Child windows can not be dragged out of working area. Notice in screenshot above that Interface window is
dragged out of visible working area and horizontal scroll bar appeared at the bottom. If any window is outside visible
work area boundaries the vertical or/and horizontal scrollbars will appear.
Notice that at the right side next to quick find input filed there is a dropdown box. For currently opened (IP Route)
window this dropdown box allows to quickly sort out items by routing tables. For example if main is selected, then
only routes from main routing table will be listed.
Similar dropdown box is also in all firewall windows to quickly sort out rules by chains.
Manual:Winbox 6
Example shows how to quickly filter out routes that are in 10.0.0.0/8 range
1. Press Sort button
2. Chose Dst.Address from the first dropdown box.
3. Chose in form the second dropdown box. "in" means that filter will check if dst address value is in range of
specified network.
4. Enter network against which values will be compared (in our example enter "10.0.0.0/8")
5. These buttons are to add or remove another filter to the stack.
6. Press Filter button to apply our filter.
As you can see from screenshot winbox sorted out only routes that are within 10.0.0.0/8 range.
Comparison operators (Number 3 in screenshot) may be different for each window. For example "Ip Route" window
has only two is and in. Other windows may have operators such as "is not", "contains", "contains not".
Winbox allows to build stack of filters. For example if there is a need to filter by destination address and gateway,
then
• set first filter as described in example above,
• press [+] button to add another filter bar in stack.
• set up seconf filter to filter by gateway
• press Filter button to apply filters.
You can also remove unnecessary filter from the stack by pressing [-] button.
Manual:Winbox 7
Changes made to window layout are saved and next time when winbox is opened the same column order and size is
applied.
Manual:Winbox 8
Detail mode
It is also possible to enable Detail mode. In this mode all parameters are displayed in columns, first column is
parameter name, second column is parameter's value.
To enable detail mode right mouse click on the item list and from the popupmenu pick Detail mode
Manual:Winbox 9
Category view
It is possible to list items by categories. In tis mode all items will be grouped alphabetically or by other category. For
example items may be categorized alphabetically if sorted by name, items can also be categorized by type like in
screenshot below.
To enable Category view, right mouse click on the item list and from the popupmenu pick Show Categories
Manual:Winbox 10
Note: Drag & Drop does not work if winbox is running on Linux using wine. This is not a winbox problem,
wine does not support drag & drop.
Traffic monitoring
Winbox can be used as a tool to monitor traffic of every interface, queue or firewall rule in
real-time. Screenshot below shows ethernet traffic monitoring graphs.
Manual:Winbox 11
Manual:Winbox 12
Item copy
This shows how easy it is to copy an item in Winbox. In this example, we will use the COPY button to make a
Dynamic WDS interface into a Static interface.
This image shows us the initial state, as you see DRA indicates "D" which means Dynamic:
•
Double-Click on the interface and click on COPY:
Manual:Winbox 13
•
A new interface window will appear, a new name will be created automatically (in this case WDS2)
•
You can see that the new interface status has changed:
Manual:Winbox 14
Transferring Settings
On Windows Vista/7 Winbox settings are stored in:
%USERPROFILE%\AppData\Roaming\Mikrotik\Winbox\winbox.cfg
Simply copy this file to the same location on the new host.
Article Sources and Contributors 15