DMZ Xiaomi router: how to turn on and configure correctly

What is it? DMZ Why you need it on Xiaomi router

If you have ever encountered problems connecting to online games, IP-To cameras or remote servers via Xiaomi router, youโ€™ve probably heard of the term. DMZ (Demilitarized Zone: Demilitarized Zone is a special feature that allows you to redirect all incoming traffic from the outside. IP-The router addresses to one particular device on the local network, DMZ Makes the device โ€œtransparentโ€ to the Internet, as if it is connected directly to the provider.

On Xiaomi routers (be it Mi Router) 4A, AX3600 flagship AX6000) function DMZ frequently used:

  • ๐ŸŽฎ Solutions to problems with NAT-In games (such as Call of Duty or Fortnite), servers require open ports.
  • ๐Ÿ“น Remote access organization IP-cameras or video recorders via the Internet.
  • ๐Ÿ–ฅ๏ธ Home Web Server Settings, FTP or a game server (Minecraft, CS:GO).
  • ๐Ÿ”ง Testing network applications when port forwarding is not working.

It is important to understand that the inclusion DMZ โ€” It's a last resort, not a standard solution, unlike the passing of specific ports, DMZ Opens all ports to the device you choose, which can create vulnerabilities for hacker attacks, so use it only if other methods (such as manual Port Forwarding) have not helped.

๐Ÿ“Š What are you setting up for? DMZ Xiaomi router?
For online gaming (NAT Type)
For IP-camera-surveillance
For the home server (web)/FTP)
For remote access to the PC
Other

Preparation for setup DMZ: What to do in advance

Before you turn on DMZ On Xiaomi router, follow a few mandatory steps to avoid security and network problems:

  1. Check the local. IP-address of the device for which it is configured DMZ. It must be static (fixed), otherwise after restarting the router or device. DMZ It's gonna stop working. IP: ๐Ÿ–ฅ๏ธ On PC: Go to Control Panel โ†’ Network control centre โ†’ Change of adapter parameters โ†’ Properties (IPv4) and write IP manually. ๐Ÿ“ฑ On your smartphone: in the Wi-Fi settings, select โ€œAdvancedโ€ and set static IP. ๐ŸŽฎ On the game console: in the network settings specify a fixed IP.

Update router firmware

Settings โ†’ General โ†’ Update of firmware

Turn off UPnP

Settings โ†’ Additionally. โ†’ UPnP

It is also recommended to write down the current router settings (especially if you are experimenting with the network). โ†’ System system โ†’ Backup/Restore and save configuration to your computer.

๐Ÿ’ก

If you're setting up DMZ For a game console (PlayStation or Xbox), check it out first. NAT-type in network settings, if it is already "Open" (Type 1 or 2), DMZ Maybe not.

Step-by-step instruction: how to turn on DMZ Xiaomi router

Now, let's get to the main thing: activation. DMZ. The manual is suitable for most Xiaomi models, including the Mi Router. 4A, AX3600, AX6000, Mi Router 4C And the only difference is the design of the web interface.

โ˜‘๏ธ Preparation for inclusion DMZ

Done: 0 / 4

Step 1. Log in to the router's web interface

Open your browser on a device connected to the Xiaomi network and enter one of the addresses in the address bar:

  • 192.168.31.1 (standard for most models)
  • miwifi.com (alternative)

Enter your username and password (the default is admin and password from the sticker on the router). If you have changed them, use your data.

Step 2. Go to section DMZ

Depending on the router model, the path may be slightly different:

  • For the Mi Router 4A/4C: Settings โ†’ Additionally. โ†’ DMZ.
  • For AX3600/AX6000: Settings โ†’ Internet โ†’ DMZ.

Step 3. Set-up DMZ

In the field IP-hostage DMZ enter static IP device for which the zone is configured (e.g. 192.168.31.100:

  • ๐Ÿ”ข IP It is part of the local network of the router (usually) 192.168.31.x).
  • ๐Ÿ”’ A device with this. IP connected to the router and enabled.
  • ๐Ÿ”„ Function Insert DMZ activated (check or switch).

Click Save and wait for the router to restart (can take up to 1 minute).

Step 4: Verification of the work DMZ

To make sure that DMZ work:

  • ๐ŸŽฎ For gaming consoles: check out NAT-type in network settings (should become "Open").
  • ๐Ÿ–ฅ๏ธ For PC: Use YouGetSignal to check open ports.
  • ๐Ÿ“น For IP-Cameras: Try to connect to it through the external IP router (can be found on the website) 2ip.ru).
What to do if DMZ doesn't work?
If, after setting up, DMZ The device is not available from the Internet, check: 1. IP-Addresses โ€“ make sure itโ€™s static and fits the device. 2. Firewall on the device โ€“ turn off antivirus or firewall temporarily (e.g. Windows Defender or Kaspersky). 3. Provider NAT โ€” Some operators (for example, Beeline or MTS) use double NAT, It's a system that blocks incoming connections. DMZ It will not help โ€“ you need to contact the provider for a white" IP. 4.Port Forwarding conflict โ€“ if you already have port rollover set up, turn it off before using DMZ.

Table: comparison DMZ Port Forwarding on Xiaomi routers

Many users are confused DMZ It's actually two different mechanisms, and each has its pros and cons:

ParameterDMZPort Forwarding
What's openingAll ports on one deviceSpecific ports for a particular device
Level of securityโš ๏ธ Low (vulnerability to attacks)โœ… High (only the necessary ports)
Difficulty setting upJust one. IP)More difficult (you need to know the ports)
When to useIf Port Forwarding is not helpful or if you need to test the networkFor most tasks (games, cameras, servers)
Impact on other devicesNo (only for selected)No (only to selected ports)

The table shows that Port Forwarding is safer and recommended for continued use. DMZ It is necessary to include only temporarily - for example, to diagnose problems with the NAT or testing network applications.

๐Ÿ’ก

If you only need to open a few ports (for example, for a Minecraft server or a server). IP-Always use Port Forwarding instead of Port Forwarding. DMZ. This minimizes the security risks to your network.

Common errors in setting up DMZ and how to avoid them

Even experienced users sometimes face problems when activating DMZ Here are the most common mistakes and ways to solve them:

โš ๏ธ Attention: If, after activation, DMZ Internet on the device is missing, check if it conflicts IP with other devices on the network, for example, if you specified in DMZ 192.168.31.1 (IP The router itself, this will cause a crash.

Mistake 1: DMZ persistence

If you reset after clicking Save settings, try:

  • ๐Ÿ”„ Reboot the router manually (disable power for 30 seconds).
  • ๐Ÿ“‹ Check if the antivirus on your PC blocks access to the web interface.
  • ๐Ÿ”ง Reset the router to factory settings (reset button for 10 seconds) and repeat the setting.

Mistake 2: Device in DMZ not visible from the Internet

The reasons may be as follows:

  • ๐ŸŒ You have a gray" IP from the provider (double) NAT). Check your external IP on 2ip.ru and compare with IP If they are different, call for white support" IP.
  • ๐Ÿ›ก๏ธ Firewall on target device blocks incoming connections. Turn it off temporarily for test.
  • ๐Ÿ”Œ Some operators (e.g. Rostelecom) block popular ports by default (80, 443, 22.

Error 3: After activation DMZ Internet speed has fallen

It's a rare but possible problem.

  • ๐Ÿ“ก The router is congested with a lot of open ports. DMZ Use Port Forwarding for the right ports only.
  • ๐Ÿ”„ QoS (Quality of Service) function is enabled, which conflicts with the DMZ. Turn it off in Settings. โ†’ Additionally. โ†’ QoS.

Safety in use DMZ: How to minimize risks

Inclusion DMZ On a Xiaomi router, it's always a compromise between functionality and security, and as all the ports of a device become accessible from the Internet, it becomes vulnerable to the Internet:

  • ๐Ÿ•ต๏ธโ€โ™‚๏ธ Hackers scan ports (search for vulnerabilities).
  • ๐Ÿ’ป DDoS attacks (if yours) IP will become known to the attackers).
  • ๐Ÿฆ  Malware infections through open services (RDP, FTP, Telnet).

To reduce the risks, follow these guidelines:

โš ๏ธ Attention: Never turn on DMZ For devices with outdated software (such as Windows 7 or Android 5.0), vulnerabilities in such systems can be used to attack your local network.

Methods of protection:

  1. Use it. DMZ Only for trusted devices (e.g., a game console or server with up-to-date updates).
  2. Turn it off. DMZ, When you don't need it, like after playing a game or setting up a camera.
  3. Set up a firewall on the target device: ๐Ÿ–ฅ๏ธ On Windows PC: Open the Windows Defender Firewall โ†’ Additional settings and create rules to block unnecessary ports. ๐Ÿ“ฑ On Android devices: Use apps like NetGuard or AFWall+.

Change the standard passwords

admin:admin

Use it. VPN remotely

WireGuard

If you need a permanent solution to access the device (e.g., to access the device) NAS or IP-In the camera, consider alternatives:

  • ๐Ÿ”— Cloud services (e.g. Xiaomi Cloud for Cameras or Synology) DDNS for NAS).
  • ๐Ÿ” Reverse Proxy (such as Nginx or Traefik) SSL-encryption.
  • ๐ŸŒ Dynamic DNS (Services like No-IP or DynDNS).

DMZ on specific models Xiaomi: features and nuances

Although the principle of adjustment DMZ Xiaomi is similar on all routers, some models have their own characteristics:

Mi Router 4A and 4C

These are budget models with a simplified web interface.

  • ๐Ÿ“Œ Section DMZ is in the settings โ†’ Additionally. โ†’ DMZ.
  • ๐Ÿ”„ After saving the settings, the router restarts longer (up to 2 minutes).
  • โš ๏ธ No way to specify the range IP for DMZ โ€” single-piece.

Xiaomi AX3600 and AX6000

Flagship routers with Wi-Fi 6 support. DMZ more flexible:

  • ๐Ÿ“ก Section DMZ located in Settings โ†’ Internet โ†’ DMZ.
  • ๐Ÿ”’ There's a way to tie DMZ ce MAC-Address of the device (additional protection).
  • ๐Ÿ”ง Supported IPv6, but DMZ works only for IPv4.

Xiaomi Mi Router 3/3G/3C

Outdated models with firmware based on OpenWRT. DMZ may be unstable:

  • ๐ŸŒ The interface is slower to respond to changes.
  • ๐Ÿ”„ Sometimes you need to double-boot (save settings, restart the router, then save again).
  • ๐Ÿ“Œ In some firmware DMZ It's called Exposed Host.

If your model is not mentioned in the list, check the firmware version in Settings. โ†’ Status. โ†’ For older devices (for example, Mi Router Mini) you may need alternative firmware (for example, Padavan), as the official software does not support DMZ.

FAQ: Answers to Frequent Questions about DMZ Xiaomi

โ“ Should I include? DMZ for online gaming PlayStation/Xbox?
Not always, check first. NAT-type in the console settings. If it's "Moderate" 2), Port Forwarding (Port Forwarding) is usually sufficient. DMZ It is only worth using if only if NAT It's still "Strict." 3) For PlayStation, throw the ports: TCP: 80, 443, 3478-3480 and UDP: 3478-3479. For Xbox: TCP: 3074 and UDP: 88, 500, 3074, 3544, 4500.
โ“ Can I include? DMZ on two devices simultaneously?
No, on Xiaomi routers. DMZ It only works for one person. IP-If you need to open ports for multiple devices, use Port Forwarding for each device separately.
โ“ Why not after the switch on DMZ Some sites are not working?
It could be because of: ๐Ÿ”Œ Conflict with DNS-Try changing servers. DNS at 8.8.8.8 (Google) or 1.1.1.1 (Cloudflare) in the router settings. ๐Ÿ›ก๏ธ ISP traffic blocking: Some operators filter ports used for DMZ. ๐Ÿ”„ Router overload. DMZ Check if the sites will recover.
โ“ How to turn off DMZ Xiaomi?
To deactivate DMZ: Go to the router's web interface (192.168.31.1). DMZ (The path depends on the model, see above. DMZ or clear the field with IP-Save the settings and reboot the router. Once the device is disabled, all ports of the device will be closed to external access again.
โ“ Does it work? DMZ via the Mi WiFi mobile application?
No, the official Mi WiFi app (or Xiaomi Router) doesnโ€™t have the option to configure. DMZ. This feature is only available through the router's web interface: ๐Ÿ“ก View connected devices and their IP. ๐Ÿ”ง Turn on/off Port Forwarding (on some models). ๐Ÿ”„ Reboot the router.