Port port port transfer on the Xiaomi router: full instructions with pictures and tips

Port port transfer on the Xiaomi router is a task faced by gamers, owners IP-And while it's a bit complicated, it takes about 10 minutes, if you know the nuances of MiWiFi firmware and the different router models. In this article, we will analyze all methods of throwing โ€“ from manual setting to use. DMZ UPnP and how to avoid common mistakes that keep ports closed.

Many users mistakenly think that port rollover is only for online games like Minecraft or Counter-Strike, but it is also required for remote access to the home. NAS, organization VPN-server, connection to IP-For cameras over the Internet or even for the correct operation of some messengers (for example, Telegram in proxy mode). Xiaomi has simplified the process in new firmware, but old models (for example, Mi Router). 3G) You may need additional manipulations.

If you've never gone to the router's admin panel, don't worry. We'll go through every step, from accessing settings to checking open ports, and for those who've tried and encountered problems, we've prepared a section on solutions to common errors (for example, when the port is "open" but the connection is not established).

What Xiaomi models support port port port port port port port forwarding?

Port Forwarding is available on all Xiaomi routers running MiWiFi or OpenWRT (for advanced users), but the interface and settings may vary depending on the model and version of the software. Here are the main devices on which this instruction is checked:

  • ๐Ÿ“ถ Mi Router 4A (version 4A Gigabit Edition and 4A 100M Edition)
  • ๐ŸŒ Mi Router 4C and 4Q (Budget models with limited functions)
  • โšก Mi Router AX3600 and AX6000 (flagships with support for Wi-Fi 6)
  • ๐Ÿ”„ Mi Router AC2100 and AC1200 (Older but still common models)
  • ๐Ÿ› ๏ธ Routers with firmware Padavan or OpenWRT (for enthusiasts)

On Xiaomi routers with operator firmware (such as models for Rostelecom or Beeline), the interface can be simplified or blocked, in which case you will first have to reset the settings to factory or flash alternative software.

If your model doesn't make the list, don't worry. The logic of port-overs on all Xiaomi devices is the same, only the names of the menu items differ. IP-router address (usually 192.168.31.1 or 192.168.0.1) and login data (default login and password โ€“ admin).

๐Ÿ“Š What kind of Xiaomi router do you have?
Mi Router 4A
Mi Router AX3600
Mi Router 4C
Another model
I don't know.

Preparation for pass: static IP nuance

Before opening ports, two key conditions must be met:

  1. Tie the device static IP If you don't, the router can assign a new device. IP through DHCP, and the dash will stop working.
  2. Know the outside IP-your Internet connection address (it can be dynamic or static โ€“ this is important for remote access).

Let's go through both points in detail.

1. Static adjustment IP device

Static IP can be assigned in two ways:

  • ๐Ÿ–ฅ๏ธ Through the network adapter settings on the device itself (PC, server, camera).
  • ๐Ÿ“ก Through the router control panel (recommended method for beginners).

Consider the second option, as it is versatile and works for any device (including: IP-camera NAS):

  1. Open the router administrator panel at the address http://192.168.31.1 (or http://miwifi.com).
  2. Go to the Additional Settings section โ†’ Network โ†’ Local area network (LAN).
  3. Find the "Tie" block. IP and MAC" (or DHCP โ†’ Reservation of addresses on new firmware).
  4. Add a new rule, specifying MAC-target device address and desired IP (for example, 192.168.31.100).
  5. Save the settings and restart the router.

Find out. MAC-target-point|Static tie IP router-setting|Check the outside IP site 2ip.ru|Disable the firewall on the device (temporarily)|Record the ports that need to be opened-->

Important: If you are setting up a playable PC, make sure that the Windows network adapter settings do not include static IP manually โ€“ this can cause a conflict with the reservation on the router.

Checking the external IP type of connection

Outside IP-The address is the white address that your ISP gives you, and you can find it on sites like this. 2ip.ru or whatismyipaddress.com. Remember or write down this address, and you'll need it for remote connectivity.

If you IP dynamic (changes with each connection), for stable operation of the pass will be required:

  • ๐Ÿ”„ Set up DDNS (dynamic DNS) on a router or through services such as No-IP.
  • ๐Ÿ“ž Contact the provider for static IP (fee-paying).
How to know if it is dynamic or static IP you?
Turn off the router from power for 5-10 minutes, then turn on and check the external one. IP on 2ip.ru. If he's changed โ€” IP If you're still the same (check at different times of the day) it's probably static.

Step-by-step: how to throw the port on Xiaomi

Now, the main thing is to set up the spread. The instructions are suitable for most Xiaomi models, but if you have a router with firmware from the operator, some menu items may be called differently.

Step 1. Enter the Administrator Panel

1. Connect to the router network via cable or Wi-Fi.

2. Open the browser and enter in the address bar:

http://192.168.31.1

or an alternative address:

http://miwifi.com

3. Enter the login and password (by default โ€” admin/admin, New firmware may require a link to a Xiaomi account.

If the page does not open:

  • ๐Ÿ”Œ Check the cable connection (for wired access).
  • ๐Ÿ”„ Reset the router with the Reset button (hold 10 seconds).
  • ๐Ÿ› ๏ธ Make sure the browser is off. VPN proxy.

Step 2: Go to the port port forwarding section

The interface of Xiaomi routers may be different, but the general logic is as follows:

  1. In the main menu, select Additional Settings (or Advanced Settings in English firmware).
  2. Go to the forwarding section (forwarding) โ†’ Port forwarding (port forwarding).
  3. In some models (for example, AX3600) the way may be: Network โ†’ Redirection โ†’ Virtual servers.

If there is no section:

โš ๏ธ Note: On routers with firmware from the provider (for example, Rostelecom), the port rollover function may be disabled. Try resetting to factory settings or updating the firmware via MiWiFi.

Step 3: Creating a pass rule

Now, we add a rule for skipping. For example, open port 25565 for the Minecraft server:

  1. Click Add New Rule (Add New Rule)
  2. Fill in the fields: Rule name: Minecraft Server (arbitrary name: TCP, UDP or TCP/UDP (play-playing TCP). Outer port: 25565 (The one that's going to be open out: 25565 (It should be the same as the outside if you don't use the mapping. IP: 192.168.31.100 (static IP device).

OK

Save.

Other services will have different ports, and here's a table of popular apps and their ports:

Service/app/app/app/app/app/app/app/app/app/app/app/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////Port(s)ProtocolNote
Minecraft (server)25565TCPCan you demand? UDP modular
Counter-Strike 1.6/Source27015-27020UDPSteam servers also have 27005
IP-Cameras (Xiaomi, Hikvision)80, 554, 8000TCP/UDPPort 80 is often blocked by the provider.
Transmission (torrent client)51413TCPPort can be changed in the client settings
OpenVPN1194UDPFor the server, the client uses random ports.

If you need to open a port range (for example, for Call of Duty), specify the initial and final port in the appropriate fields (for example, for example, the port is not available, 3074-3075).

Step 4: Save and restart

After adding the rule:

  1. Press Save (Save)
  2. Restart the router through the System menu โ†’ Reboot.
  3. Check if the settings apply (sometimes a double reboot is required).

Important: On Xiaomi routers AX6000 and AX3600 After saving the rules, a notification may appear that you need to update the configuration.

๐Ÿ’ก

After port rolling, always restart your router โ€“ without this change, you may not take effect, even if the rule is saved.

Open Port Checking: 3 Reliable Ways to Check

Just adding a pass rule is not enough, you need to make sure that the port is actually open and accessible from the Internet.

1. Through online services

The easiest way to do this is to use websites like:

  • ๐ŸŒ 2ip.ru/port-scan
  • ๐Ÿ” yougetsignal.com
  • ๐Ÿ›ก๏ธ portchecker.co

Instructions:

  1. Open one of the services.
  2. Enter the port number (e.g. 25565).
  3. Click Check or Check.

If the port is closed, the service will show a message like Port X is closed.

  • ๐Ÿ”Œ Correctness of the statically introduced IP.
  • ๐Ÿ”„ Reboot the router and the device for which the port was sprayed.
  • ๐Ÿ›ก๏ธ Turn off the firewall on the target device (temporarily).

2. via the command line (telnet)

For Windows users:

  1. Open the Command Prompt (Win + R โ†’ enter cmd).
  2. Enter the command: telnet [your external_IP] [port] For example: telnet 95.168.42.100 25565
  3. If the screen clears or the cursor appears, the port is open. If the connection is not established, the port is closed.

For Linux/macOS Use the same command in the terminal.

3. Through specialized utilities

Programs like Nmap or Angry IP Scanner allows you to scan ports in more detail, for example, for Nmap in a Linux terminal, type in:

nmap -p [port] [your external IP]

If you see the port open, the port is available.

๐Ÿ’ก

If the port is open but the connection is not established, check if the provider is blocking it. Some operators (such as Beeline or MTS) close ports 80, 443 and 25 on home Internet rates.

DMZ UPnP: Alternative methods of transfer

If port rollover is not working or you need to open all ports for a single device (for example, for testing), you can use the port. DMZ or UPnP.

1. DMZ (Demilitarized Zone) setting

DMZ It redirects all the external ports to one device on the LAN, which is convenient, but not secure, and it becomes vulnerable to attack.

How to turn it on DMZ Xiaomi:

  1. Go to Additional Settings โ†’ Redirect โ†’ DMZ.
  2. Enable the function (Enable). DMZ).
  3. Indicate. IP-the address of the target device (e.g. 192.168.31.100).
  4. Save the settings and restart the router.

โš ๏ธ Attention: Don't leave. DMZ Use this mode only for temporary tasks (e.g., server settings), then turn off.

2.Update of UPnP (Universal Plug and Play)

UPnP allows devices to automatically open ports without manually configuring, which is convenient for gaming and torrent clients, but also carries security risks.

How to turn on UPnP:

  1. Go to Additional Settings โ†’ Network โ†’ UPnP.
  2. Activate the switch Enable UPnP.
  3. Save the settings.

Then check if the open ports appear in the rollover rule list (they must be added automatically).

UPnP supports:

  • ๐ŸŽฎ Game Clients (Steam, Epic Games, Origin).
  • ๐Ÿ“ฅ Torrent clients (qBittorrent, Transmission).
  • ๐Ÿ“ท Some of them IP-Xiaomi Mi Home Camera).

โš ๏ธ Attention: UPnP may conflict with manual rollover rules. If the port doesn't open, try disabling UPnP and adjusting the rollover manually.

Typical errors and their solutions

Even if you set up the port overlay correctly, it might not work, and we'll look at some of the most common problems and how to fix them.

1.The port is open, but no connection is established

Possible causes and solutions:

  • ๐Ÿ”Œ The provider is blocking the port, see if your list is grey. IP (If so, please contact the provider for support.
  • ๐Ÿ›ก๏ธ Firewall on the device. temporarily turn it off or add an exception for the port.
  • ๐Ÿ”„ Incorrect static IP. Make sure the device is actually using the reserved IP (Check via ipconfig in Windows or ifconfig in Linux).

2.External IP changing (dynamic)

If you IP dynamic port transfer will only work as long as IP It's not gonna change:

  • ๐Ÿ”„ DDNS. Set up dynamic. DNS on the router (Additional settings) โ†’ Network โ†’ DDNS) Or through services like No-IP.
  • ๐Ÿ“ž Static IP. Order from the provider (usually paid, ~100โ€“300 โ‚ฝ/moss).

3. the spread works, but only on the local network

If the port is accessed from a local network but not from the Internet:

  • ๐ŸŒ Check the outside. IP โ€” Maybe you have a gray" IP (for example, 10.x.x.x, 192.168.x.x, 172.16.x.x). In this case, the transfer will not work.
  • ๐Ÿ”Œ Make sure the provider cable is connected to the port. WAN (usually blue, not in the same color. LAN.

If your external IP Starting with 10., 172.16.โ€“172.31. or 192.168., which means that you are behind the NAT the provider, and port transfer is not possible without additional settings (for example, IPv6 or appeals of support).

4. Conflict with other rules

If you have multiple rules of skipping, they can conflict.

  • ๐Ÿ“ Check if the rules overlap (e.g. two rules for the same port).
  • ๐Ÿ”„ Remove all the rules and add them again.

Security: How not to open a router for hackers

Port spills create potential vulnerabilities, and follow these rules to minimize the risks.

  • ๐Ÿ”’ Use complex passwords on devices you open ports for (especially for the devices you use). IP-camera NAS).
  • ๐Ÿ›ก๏ธ Update the router's firmware. Older versions of MiWiFi had vulnerabilities that allowed remote access to settings.
  • ๐Ÿ”„ Turn off the dashboard if you don't need it. For example, after playing Minecraft, delete the rule.
  • ๐Ÿ“ก Do not open any unnecessary ports, such as port 3389 (RDP) Often scanned by bots to match passwords.

If you need remote router management, instead of port 80, it is better to use:

  • ๐ŸŒ Xiaomi Cloud Access. Included in Settings โ†’ Remote control.
  • ๐Ÿ” VPN. Set up OpenVPN or WireGuard on your router (available on Padavan or OpenWRT firmware).

๐Ÿ’ก

Never open the ports. 22 (SSH), 3389 (RDP) and 80/443 (HTTP/HTTPS) And without strong authentication and encryption, these are the ports that are most attacked.

FAQ: Answers to Frequent Questions

๐Ÿ”น Why is the port closed after the transfer?
There may be several reasons: the provider is blocking the port. 2ip.ru, Are you in favor of NAT. Incorrect static IP. Make sure the device is actually using the reserved IP. Firewall on the device. Temporarily turn it off for the test. Impairment rule error. Check if the external and internal ports and protocol match (TCP/UDP). If nothing helps, try resetting the router to factory settings and configuring the spread again.
๐Ÿ”น Can I roll over the port to Xiaomi without static? IP?
Technically, yes, but it's unreliable. IP the device will change (for example, after restarting the router), the pass will stop working. IP โ€” a prerequisite for stable employment, except if you use DHCP-reservation IP ce MAC-address), which effectively replaces static IP.
๐Ÿ”น How to throw a port for IP-Xiaomi?
Xiaomi Mi Home cameras usually require ports to be opened: 80 (HTTP) 554 (RTSP video-stream) 8000 (Alternative port for some models) Instructions: Tie the camera static IP In the router settings, add port pass rules. 80 and 554 (protocol TCP/UDP). Check availability through the external IP: http://[yours_IP]:80. If it's a port 80 Blocked by the provider, use an alternative (e.g, 8080) and reconfigure the camera.
๐Ÿ”น How to open a port for a torrent client (qBittorrent, Transmission)?
Torrent clients typically require one port (by default 6881 for uTorrent, 51413 for Transmission). Instruction: Find out the port in the torrent client settings (Connection or Network partition). IP. Add the pass rule for this port (protocol) TCP). Reboot the router and the client. Then check the port status in the client, and a green indicator should appear (for example, "Port open" in qBittorrent).
๐Ÿ”น Can I throw a port on Xiaomi through the mobile application?
No, the official Mi WiFi app does not have port rollover, and you can only set up via the router's web interface (192.168.31.1), except that some firmware from third-party developers (such as Padavan) may have mobile applications with advanced settings.