How to Set Up Xiaomi Router 4: A Complete Guide from Connection to Fine Optimization

Xiaomi Router 4

Xiaomi

QoS

guestnet

parental control

Many people mistakenly believe that it is enough to simply turn on the router and wait for the Internet indicator to light up. In practice, incorrect setting of Wi-Fi channels, a weak password or outdated firmware can reduce the speed of the Internet. 30-50%, And in some cases, we're going to leave the network vulnerable to hacking, and we're going to go through all the steps, from the physical connection to the hidden features that are not written in the standard manual.

In the article you will find:

  • πŸ”Œ Step-by-step connection to the provider (including PPPoE, DHCP static IP)
  • πŸ“Ά Wi-Fi optimization: channel selection, signal power, 2.4 and 5 GHz separation
  • πŸ”’ Security settings: encryption, filtering MAC-Addresses, protection against DDoS
  • ⚑ Hidden functions: prioritizing traffic, VPN, remote access

1. Preparation for setup: unpacking and connection

Before you start the configuration, make sure you have everything you need:

  • πŸ“¦ Set Xiaomi Router 4 (router, power supply, network cable)
  • πŸ“‘ Cable from the provider (Ethernet, optics with converter or ADSL-modem)
  • πŸ’» Device for setting up: smartphone, tablet or computer with Wi-Fi support
  • πŸ“± Mi Wi-Fi app (available for Android and iOS)

Unpack the router and inspect it for damage.

  • 1Γ— WAN-port (blue) for the provider's cable
  • 3Γ— LAN-Ports (yellow) - for wired connection of devices
  • Reset button (small hole) RESET) β€” back to factory settings

Connect the power supply to the router and plug it into the socket. Wait for the power indicator to light up in blue (ready mode). If the LED flashes orange, it means an Internet connection error (check the provider's cable).

⚠️ Note: Do not connect the provider's cable to the LAN-Port – This will result in no internet access. WAN-The port is always marked with a separate color or inscription. INTERNET.

2. First start: login to a web interface or application

The Xiaomi Router 4 can be set up in two ways:

  1. Through the web interface (suitable for PCs and laptops)
  2. Through the Mi Wi-Fi app (more convenient for smartphones)

To enter through the browser:

  1. Connect to the router’s Wi-Fi network (network name and password are shown on the sticker at the bottom of the device, usually Xiaomi_XXXX).
  2. Open your browser and type in the address bar 192.168.31.1 or miwifi.com.
  3. Enter the login and password (by default – admin / admin or empty password).

To configure through the application:

  1. Download Mi Wi-Fi from the App Store or Google Play.
  2. Sign up or sign in through your Xiaomi account (optional, but gives you access to cloud features).
  3. Click Add Device β†’ Router and follow the instructions.
πŸ“Š How do you usually set up routers?
Through the web interface
Through the mobile app
I'm calling the provider.
I'm not setting myself up.

If the page does not open, check:

  • πŸ”Œ Correctness of cable connection (indicator) WAN flash).
  • πŸ“΅ Disable VPN or the proxy on the device.
  • πŸ”„ Restart the router (turn off power for 10 seconds).

3. Internet Connection (WAN) setting

This is the most critical stage, because without the right parameters, the router can't distribute the Internet. The type of connection depends on your provider.

Type of connectionWhen usedWhat data are needed
DHCP (Auto)Most home providers (Rostelecom, MGTS)Nothing is required.
PPPoEBeeline, Dom.ru, TTKLogin and password from the provider
Static IPCorporate networks, some tariffsIP-address, mask, gateway, DNS
L2TP/PPTPRarely, usually for VPN-connectionServer address, login, password

To set up the connection:

  1. In the web interface, go to Settings β†’ Internet.
  2. Select the type of connection (check with the provider if you do not know).
  3. For PPPoE, enter the login and password (they are specified in the contract).
  4. For static IP Fill in all the fields (IP, mask, lock, DNS).
  5. Click Save and wait for the router to restart (1-2 minutes).

⚠️ Note: If the Internet indicator flashes orange after saving, check the data entered correctly. Error 691 or 769 means the wrong username / password for PPPoE.

β˜‘οΈ Checking the Internet connection

Done: 0 / 4

4. Wi-Fi optimization: channels, power, frequency separation

By default, the router creates a single network at 2.4 GHz, but for maximum speed and stability, it is better:

  • πŸ”„ Separate 2.4 and 5 GHz networks (for compatibility with old and new devices).
  • πŸ“Š Choose a free channel (automatic choice is not always optimal).
  • πŸ”‹ Adjust the signal power (too high can cause interference).

How to change the Wi-Fi settings:

  1. Go to Settings. β†’ Wi-Fi.
  2. Click on Additional Settings.
  3. For 2.4 GHz, select channel 1, 6, or 11 (they don't overlap).
  4. For 5 GHz, use channels 36-48 or 149-165 (less-loaded).
  5. Set channel width: 2.4 GHz: 20 MHz (for stability) 5 GHz: 40 MHz or 80 MHz (for speed)

WMM

To divide the networks:

  1. In the Wi-Fi section, click Add Network.
  2. Give me a name for 5 GHz (e.g, Xiaomi_5G).
  3. Select the type of security WPA2-PSK and set the password.
  4. Save the settings and reconnect the devices to the desired network.

πŸ’‘

Use the Wi-Fi Analyzer (Android) or NetSpot app (iOS/macOS), To see the congestion of channels in the neighbors and choose the most free.

5.Security: Passwords, Filtering and Protection Against Attacks

Attackers often scan networks for vulnerabilities, especially if they use weak passwords or outdated encryption to protect their network:

  • πŸ” Change the Admin Panel password (by default admin).
  • πŸ›‘οΈ Enable firewall and DDoS protection.
  • 🚫 Disable remote access if you are not using it.
  • πŸ“‹ Set up the filtering by MAC-Addresses (to restrict access).

Step-by-step:

  1. Change the admin password: Go to Settings β†’ System system β†’ Enter your current password (admin) and new password (minimum 8 characters, with numbers and letters).
  2. Firewall settings: In Settings β†’ Security β†’ Firewall enable options: DDoS protection, Filtration ICMP, Blocking of anomalous packages.
  3. Filtration MAC-Addresses: C Settings β†’ Wi-Fi β†’ Filter MAC Choose a blacklist or a whitelist. MAC-Addresses of trusted devices (you can find them in Connected Devices).

For additional protection:

  • πŸ”„ Update the firmware (in Settings) β†’ System system β†’ Update).
  • πŸ“΅ Turn it off. WPS (vulnerable to hacking, is in Settings β†’ Wi-Fi β†’ WPS).
  • 🌐 Use it. DNS Cloudflare (1.1.1.1) or Google (8.8.8.8) for phishing protection.
What to do if the router is hacked?
If you notice unknown devices on the network or the router began to slow down, immediately: 1. WAN-cable). 2. Reset the settings with a button RESET (Hold 10 seconds. 3. Update your firmware and change all passwords. 4. Check your devices for viruses (especially if they've been connected to an infected network).

6 Additional features: QoS, guest network, parental control

Xiaomi Router 4 supports a number of useful options that often go unused:

QoS (Quality of Service):

It allows you to prioritize traffic for certain devices or applications (e.g., Zoom, online games, or YouTube).

  1. Go to Settings. β†’ QoS.
  2. Enable the option and select priority: By device - specify MAC-By app, select from a list (e.g. Skype, Steam).

Set a speed limit for other devices (optional).

Guest network:

Creates a separate Wi-Fi network with limited access to local resources (for example, for friends or IoT devices).

  1. B Settings β†’ Wi-Fi β†’ Guest network, turn on the option.
  2. Enter the network name (for example, Guest_Xiaomi) password.
  3. Set up the restrictions: πŸ•’ Working hours (for example, from 9:00 to 22:00). πŸ“₯ Speed limit (e.g. 10 Mbps). 🚫 Blocking access to the local network.

Parental controls:

Restricts access to the Internet for certain devices by time or content.

  1. B Settings β†’ Parental control add the device (by MAC-address).
  2. Set a schedule (for example, lock from 22:00 to 7:00).
  3. Enable content filtering (blocking adult websites, social networks, etc.).

πŸ’‘

Guest network and parental controls only work when the Internet is turned on, and if the router disconnects from the provider, all restrictions will be removed.

7 Problems and Solutions: What to Do When Something Goes Wrong

Even after the right setup, there can be problems.

Problem.Possible causeDecision
No Internet connection (indicator orange)Wrong settings WAN, provider-sideCheck the connection type and login data. Reboot the router.
Wi-Fi works, but there is no internet.Failure DNS or IP-conflictIn the settings WAN specify DNS 8.8.8.8 or turn off/on DHCP.
Weak Wi-Fi signal in some roomsInterference from other networks, the wrong channelChange the channel to 2.4 GHz (1, 6, or 11) or reduce the transmission power.
The router is constantly rebooting.Overheating, unstable food, firmware failureCheck the power supply, update the firmware, reset the settings.

If the router does not respond to the settings:

  1. Perform a hard reset: Press and hold the button RESET (10-15 seconds) before the lights flash. 2-3 minutes until the device restarts.
  2. Update your firmware manually: Download the latest version from the official website. In the web interface, go to Settings β†’ System system β†’ Update β†’ Manual loading.

⚠️ Note: If the router does not turn on after updating the firmware (only the white indicator burns), try rolling back the version through the recovery mode (hold on). RESET power-on).

8 Advanced settings: VPN, ports, remote access

For experienced users in Xiaomi Router 4 available additional features:

VPN-server:

It allows you to connect to your home network from anywhere in the world.

  1. Go to Settings. β†’ VPN-server.
  2. Select the protocol (PPTP or OpenVPN).
  3. Please specify the user name and password for the connection.
  4. On the device (smartphone/PC) set up VPN-connection.

Port Forwarding (Port Forwarding):

It is necessary for the operation of torrent clients, game servers or video surveillance cameras.

  1. B Settings β†’ Redirection β†’ Ports rollover press Add rule.
  2. Specify: Rule name (e.g. Torrent). Protocol (TCP, UDP External and internal ports (e.g, 6881-6889). IP-device address on the local network.

Remote access:

It allows you to manage your router over the Internet (risky from a security point of view!).

  1. B Settings β†’ System system β†’ Remote access, turn on the option.
  2. Enter the port (by default 8080) and link to your Xiaomi account.
  3. Use the address to connect. http://[yours_WAN_IP]:8080.

πŸ’‘

For security, disable remote access after use or limit it to IP (Allow only your external address).

FAQ: Frequent questions about setting up Xiaomi Router 4

πŸ”Ή How to reset the router to factory settings if you forgot the password?
Press and hold the button. RESET (rear-hole) within 10-15 After the reset, the login and password will become standard (admin/admin idle).
πŸ”Ή Can I use a router without the Mi Wi-Fi app?
Yes, all settings are available via the web interface at 192.168.31.1. The application is only needed for some cloud functions (for example, remote management).
πŸ”Ή Why Wi-Fi Speed Is Lower Than Cable?
This is normal β€” airborne data is slower due to interference. To improve speed: Switch to 5 GHz (if the device supports). Reduce the channel width by 2.4 GHz to 20 MHz. Check if the channel is overloaded (use Wi-Fi Analyzer).
πŸ”Ή How to connect IP-Xiaomi camera or smart devices?
Most Xiaomi devices (cameras, light bulbs, sensors) require a network connection 2.4 GHz. If you have separate networks: Connect to the network Xiaomi_2.4G. In the device application (e.g. Mi Home), pair. After setting up, you can switch back to 5 GHz.
πŸ”Ή What to do if the router is warming?
Overheating can occur because of: Poor ventilation (don't put the router in closed cabinets); prolonged high-load operation (many connected devices, torrents); faulty power supply; solution: provide free space around the router, turn off unnecessary devices and check the power supply; if the problem persists, contact the service.