Mikrotik: How to Set a WiFi Password – A Complete Guide

Securing your home or business wireless network is a top priority for any administrator. If you're wondering how to set a WiFi password on your equipment, Mikrotik, then you understand the importance of preventing unauthorized access. An open access point not only poses a risk of traffic theft but also poses a potential opportunity for attackers to use your connection for illegal purposes.

Setting up security in RouterOS can be a bit overwhelming for beginners due to the number of settings, but setting up a basic encryption key is fairly quick. Network security It all starts with choosing the right encryption protocol and creating a complex character set. In this article, we'll walk through all the configuration steps using the WinBox graphical interface, the de facto standard for managing Mikrotik devices.

Before making any changes, make sure your device is connected to the router via cable or already has network access. Any configuration errors Wireless Interface issues can temporarily disconnect the connection, so it's important to understand each step. We'll cover not only password setting itself, but also additional security measures that will make your network invulnerable to simple attacks.

Preparing for setup and logging in

The first step to changing security settings is logging into the management system. To do this, you'll need a utility WinBox, which can be downloaded from the manufacturer's official website or accessed via a web browser. WinBox is preferred, as it provides a more stable connection and displays all hidden parameters that may not be visible in WebFig.

After launching the program, find your device in the neighbors list or enter its IP address manually. The default address is often 192.168.88.1, if the settings have not been changed previously. Default login usually has a name admin without a password if you just reset your device or it is new.

⚠️ Caution: If you're configuring a remote router, changing wireless network settings may disrupt your connection. Always have physical access to the device or an alternative connection.

After successfully logging in, pay attention to the left menu bar. We're interested in the section responsible for wireless interfaces. In modern versions of RouterOS v7, the interface may have changed slightly, but the logic remains the same. You need to find the item Wireless in the main menu.

☑️ Check before setup

Completed: 0 / 5

Search for a wireless network interface

In the window that opens Wireless You'll see a list of available radio interfaces. Depending on your hardware model, there may be one or more. For example, dual-band routers will have separate frequency interfaces. 2.4 GHz And 5 GHzYou need to set a password for each of them separately if you want them to be protected.

Double-click the desired interface to open its properties window. This is where the tab is located. Wireless, where the main operating parameters of the radio module are located. It is in this window that we will look for the field for entering the security key. Make sure the operating mode (Mode) is set to the value ap bridge, which means the device is working as an access point.

If you have modern equipment with support Wi-Fi 6 or new boards of the series wAP, the menu structure may differ slightly, but the principle of searching the field Security Profile remains consistent across the entire ecosystem. It's important not to confuse the settings for the main interface and virtual interfaces if they are created for guest networks.

Creating and configuring a security profile

The central element of the security configuration in Mikrotik is a security profile. In the wireless interface properties window, find the button Security Profile (often marked with a "..." or a drop-down list). Clicking on it will take you to the profile management menu. By default, a profile can be created there. default, but it is better to create a new one with a clear name, for example, home-secure.

In the profile settings window that opens, we are interested in the tab AuthenticationYou need to check the box here. WPA2 (or WPA3 for maximum protection on new equipment). Using an outdated protocol WEP It is strongly not recommended as it can be hacked in a few minutes by automated scripts. Data encryption must be modern and reliable.

In the field WPA2 Pre-Shared Key (or similar for WPA3) is where you enter the password itself. This string is the answer to the question of how to set a WiFi password. The key must be at least 8 characters long, but for true security, it's recommended to use a string of 12 or more characters, including upper- and lower-case letters, numbers, and special characters.

Parameter Recommended value Description
Authentication Types WPA2, WPA3 Encryption protocol type
Unicast Keys TKIP, AES Packet encryption algorithm
Group Keys TKIP, AES Algorithm for group packets
Pre-Shared Key Complex password Access key for clients

⚠️ Note: When choosing encryption algorithms (Unicast and Group Keys), always give priority AESProtocol TKIP is considered outdated and may reduce overall network speed and has known vulnerabilities.

What is the difference between WPA2 and WPA3?

WPA3 is a new security standard that protects against brute-force attacks, even with weak passwords. It uses SAE (Simultaneous Authentication of Equals) technology. However, older devices (post-2018) may not recognize a WPA3-only network. The optimal option is WPA2/WPA3 mixed mode, if the router supports it, or pure WPA2 for maximum compatibility.

Selection of encryption algorithms and compatibility

After setting the flag WPA2 The system will prompt you to select encryption algorithms for group and individual keys. In most cases, the optimal choice will be to set the value aes ccm for both fields. This will ensure high data transfer speeds and reliable protection. Some older devices may require tkip, but it should only be turned on if there are problems connecting specific equipment.

It is important to understand that network performance depends directly on the chosen encryption method. AES hardware encryption is generally supported by all modern processors. Mikrotik, so the CPU load will be minimal. However, if you choose software encryption or mixed modes, your WiFi speed may drop, especially on cheaper router models.

After entering all the parameters, click the button OK to save the profile, and then again OK in the interface settings window. From this point on, the changes are applied immediately. Clients attempting to connect with the old password will be disconnected and required to enter the new password.

📊 What encryption protocol do you use at home?
WPA2 (AES)
WPA3
WPA/WPA2 Mixed
WEP (Not recommended)
Don't know

Additional wireless network security measures

Setting a password is a basic step, but it's not the only one. To enhance security, administrators should consider hiding the network name (SSID). In the interface settings Wireless there is a parameter Hide SSIDIf enabled, the network will not appear in the list of available networks for regular users, although a skilled attacker could still detect it.

Another powerful feature is Access List (access list). In the menu Wireless there is a tab Access List, where you can create rules that allow connections only to specific devices based on their MAC addresses. This implements a "whitelist" policy: even if someone learns your password, they won't be able to connect because their physical address isn't on the allowed list.

It's also worth paying attention to signal strength. There's no point in broadcasting a maximum signal strength if the router is located in the center of the apartment. A decrease in signal strength (tx-power) will reduce the coverage area outside your premises, making it difficult to intercept the signal from outside. Adjust the power so that the signal is received reliably at all necessary points, but attenuates immediately behind walls.

⚠️ Caution: MAC address filtering is not a secure encryption method, as MAC addresses can be spoofed (cloned). Use this method only as an additional measure in combination with a strong WPA2/WPA3 password.

Configuration check and testing

After applying all the settings, you need to make sure the network is working correctly. Use your smartphone or laptop, forget the network in the WiFi settings, and then try to find it again. If you've enabled SSID hiding, use the "Add network manually" feature and enter the name exactly, maintaining proper case.

In the interface WinBox in the tab Wireless there is a button Registration (or Registration Table). By clicking on it, you will see a list of all devices currently connected to your access point. It displays the clients' MAC addresses and signal strength (Signal Strength) and connection uptime. This is an excellent diagnostic tool.

If the devices do not connect, check the logs. Mikrotik This is done through the menu LogFilter entries by word wireless or pppto see the reasons for access denial. A common error is a mismatch in regional settings (Country) and the selected frequency, which can block the operation of the interface.

Common Mikrotik Setup Mistakes

One of the common problems is setting the interface operating mode in station instead of ap bridgeIn mode station The router connects to another WiFi network as a client, rather than distributing the internet. Make sure access point mode is selected.

Also, users often forget to apply changes by simply closing the window. RouterOS the settings are applied immediately after clicking OK, but if you created a new profile, remember to select it from the drop-down list in the main interface. An empty security profile is equivalent to having no password.

Don't ignore firmware updates. Older versions of RouterOS may have had vulnerabilities in the implementation of encryption protocols. Regular system updates patch security holes and improve the stability of the wireless module. You can check for updates in the menu. System → Packages.

What to do if you forgot your router password?

If you've lost access to the Mikrotik admin panel, a hard reset is the only solution. To do this, power off the router, hold down the Reset button (or the button on the router case), and turn it on. Keep holding the button until the ACT/USR indicator flashes (usually 10-15 seconds). After this, the router will return to its factory settings with an open network or the default password indicated on the sticker.

Is it possible to set a password via the command line (CLI)?

Yes, you can do this through the terminal. The command looks like this: /interface wireless security-profiles set [find name=default] authentication-types=wpa2-psk mode=dynamic-settings wpa2-pre-shared-key="Your Password"This is useful for automation scripts.

What is the maximum password length supported?

The WPA2 standard allows for a passphrase of 8 to 63 ASCII characters. Using the longest and most complex passwords significantly increases security.

Does setting a password affect internet speed?

The AES encryption process itself on modern equipment Mikrotik Has virtually no impact on speed. A speed reduction is only possible when using outdated algorithms (WEP, TKIP) or when the router's processor is very weak and there are a large number of clients.

Do I need to reboot my router after setting a password?

In most cases, a reboot is not required. Security profile changes are applied dynamically. However, if you have changed the interface operating mode or frequency plan, you may need to reconnect the interface or restart the device.

How to protect a guest network with a separate password?

To do this, you need to create a virtual interface (Virtual AP) in the menu Wireless, assign it a separate Security Profile with a different password and, if necessary, isolate it from the main network through the Firewall or Bridge settings.