If you are experiencing problems in online games (Call of Duty: Warzone, FIFA, GTA Online, brakes when streaming via Twitch or YouTube, or you canโt connect to the video IP-The camera over the Internet โ the fault of everything can be closed NAT (Network Address Translation on your Xiaomi device.This setting determines how your router or TV interacts with external servers, and its incorrect configuration leads to lags, discounts and even complete inability to connect to some services.
In this article, we will discuss how to check the current type. NAT (Type 1, Type 2, Type 3), Why it can be closed, and how to open it on different Xiaomi devices: routers 4A/4C/5G, Redmi Router AX6/AX5), TVs (Mi) TV 4S/5X, Redmi Smart TV) Separately, we will consider the common mistakes that users make when setting up, and give recommendations for optimizing the network for gamers and streamers.
What is it? NAT And why should I open it?
NAT (Network Address Translation is a mechanism that allows multiple devices on a local network to use a single external network. IP-There are three types of Internet address:
- ๐ข Type 1 (Open) is ideal: your device directly interacts with external servers without restrictions, P2P-compounds IP-camera.
- ๐ก Type 2 (Moderate) โ Moderate restrictions: Most online games and services work, but there may be delays when connecting to other Type 3 players.
- ๐ด Type 3 (Strict) โ severe restrictions: problems with voice chat, inability to join some servers, lags in multiplayer.
On Xiaomi devices NAT often closed by default due to security policies. For example, Mi Router routers use a symmetrical NAT, Which is harder to set up than the classic cone NAT This means that even with the right port forwarding, you can only get Type 2, not Type 1.
The main reasons why users want to open NAT:
- ๐ฎ Online Games: In Fortnite, PUBG Apex Legends with Type 3 will only connect to players with the same type of game. NAT, pinging.
- ๐น IP-cameras: not open NAT You canโt access Xiaomi Mi Home from an external network.
- ๐ Torrent and P2P: closed NAT reduces the speed of downloading files.
- ๐ค Voice chat: Discord or Zoom may lose voices.
How to check the current type NAT on a Xiaomi device
Before you set up NAT, You need to know the current type of device:
๐ฅ๏ธ Xiaomi Router (Mi Router, Redmi Router)
Xiaomi routers do not show type NAT In the web interface, but it can be identified indirectly:
- Connect to the router via Wi-Fi or cable.
- Go to Settings. โ Status โ WAN and check the outside. IP-address.
- Open the command line (Win) + R โ cmd) and enter: tracert 8.8.8.8 If the first hop (jump) shows your external IP โ NAT Type 1 or Type 2 is more likely to be used. IP map 192.168.x.x โ This is Type 3.
๐บ On a Xiaomi TV (Mi) TV, Redmi TV)
Xiaomi TVs based on Android TV Google TV test NAT through built-in network tests:
- Go to Settings โ Network and Internet โ Network Status.
- Select the Internet Connection Checker.
- If the results are NAT: Moderate (Type 2) or NAT: Strict (Type 3) - requires adjustment.
๐ฑ On a Xiaomi smartphone (Mi, Redmi, POCO)
Check on smartphones NAT can be done through special applications:
- ๐ฑ Network Analyzer (shows type) NAT section NAT Type Test).
- ๐ฎ Xbox Companion (if you play through Xbox Cloud Gaming).
๐ก
If you have Type 3, the router will display an external router. IP โ The problem may be on the provider's side. Call support and ask if they're using it. CGNAT (career NAT), blocker.
How to open NAT on the Xiaomi router: step-by-step instructions
Setting up NAT Xiaomi has two key steps on routers: enabling UPnP and port forwarding.
๐ Method 1: Enabling UPnP (Universal Plug and Play)
UPnP automatically opens ports for devices on the LAN. This is the easiest way to get Type 2:.
- Open the router's web interface at 192.168.31.1 (or miwifi.com).
- Go to Additional Settings โ UPnP.
- Activate the switch Enable UPnP.
- Save the settings and restart the router.
โ ๏ธ Note: UPnP can create security vulnerabilities if there are infected devices on the network. Once configured, check open ports through YouGetSignal and close unnecessary ones manually.
๐ Method 2: Manual Port Forwarding)
If UPnP didnโt help or you need Type 1, set up the redirect manually:
โ๏ธ Preparation for port configuration
| Device/Service | Protocol | Ports | Note |
|---|---|---|---|
| Call of Duty: Warzone | UDP | 3074, 27000-27050 | Open it up, too. TCP 80 and 443 |
| Mi Home Camera | TCP/UDP | 8000, 9000 | Required for remote access |
| Torrent (qBittorrent) | TCP/UDP | 6881-6889 | It is better to use a random port. |
| Minecraft Server | TCP | 25565 | To host your server |
Instructions for setting up port forwarding:
- In the router web interface, go to Additional settings โ Port forwarding.
- Press Add the rule.
- Fill in the fields: Service name: for example, PS5 Or Camera: TCP, UDP or TCP/UDP. External port: specify the port from the table (for example, 3074 Inland port: repeat the outer port. IP-Address: enter local IP devices, for example, 192.168.31.100).
Save the rule and restart the router.
What to do if after setting up NAT The Type 3 is still the only?
Features of settings NAT on Xiaomi TVs
Xiaomi TVs on Android TV frequently encounter problems NAT When using streaming applications (Kodi, Plex) or games (GeForce) NOW, Xbox Cloud Gaming. Unlike routers, there is no direct access to settings. NAT โ It depends on the router, but there are ways to optimize the connection:
๐ก Method 1: Prioritization of traffic (QoS)
If your TV is connected to a Xiaomi router, turn on QoS (Quality of Service) to prioritize your traffic:
- In the router web interface, go to Additional settings โ QoS.
- Turn on QoS and select Device Mode.
- Add in. MAC-TV address (you can find it in Settings) โ On TV. โ Status).
- Set the maximum priority for this device.
๐ Method 2: Use of the DMZ
If the TV needs full network access (for example, to host a media server), place it in the network. DMZ (Demilitarized Zone):
- In the router settings, find the section DMZ (usually in additional settings โ Redirection).
- Turn it on. DMZ And give me a local. IP television.
- Save the settings and restart the router.
On smartphones can also be checked. NAT via Network Signal Info (section) NAT Type. If you're a Strict type and you're playing in PUBG Mobile or Free Fire, try it out:
- Disable Battery (traffic savings) in settings SIM-map.
- Enable High Speed mode in the mobile network settings.
- Use Game Turbo (built-in software on Xiaomi smartphones for gamers).
Common errors in setting up NAT Xiaomi
Many users are faced with the fact that NAT It doesn't open even after all the manipulations:
| Mistake. | Reason. | Decision |
|---|---|---|
| NAT Type 3 is still available after setting up ports. | Double. NAT (router + router) | Transfer the ISP router to bridge mode or turn it off |
| Ports are not opening. | Firewall on a device or router blocks the connection | Turn off the firewall temporarily for inspection |
| IP-camera inaccessible | Incorrectly stated protocol (TCP instead UDP) | Check the camera documentation and configure both protocols. |
| Games are even being laid with Type 2 | Low Internet speed or high ping | Check the speed on Speedtest and contact the provider |
Another common problem is conflict. IP-If you've assigned a static address. IP the device, but it coincides with the IP And another gadget on the network, the port forwarding rule doesn't work:
- In the router settings (DHCP) Check the range of addresses to be given out (for example, 192.168.31.100-199).
- Assign the device IP outside this range (e.g. 192.168.31.99).
๐ก
If after all the settings NAT still Type 3, try resetting the router to factory settings and reconfiguring from scratch.
Additional tips for gamers and streamers
If you use Xiaomi devices for gaming or streaming, itโs not enough to just open it. NAT. Here are some recommendations for optimal performance:
- ๐ฎ For consoles (PS5, Xbox: Connect the console to the router via cable (Wi-Fi adds delays). MTU 1500 Open the ports in the console's network settings. 80, 443, 3478-3480 (UDP) PlayStation Network.
- ๐น For streamers (OBS, Twitch: Use a wired connection at a speed of at least 10 Mbps on recoil. OBS Choose the server closest to your region. Open port 1935 (TCP) for RTMP-streaming.
- ๐ฅ๏ธ For PC gamers: Disable Geo-Filter in game settings (it can block connections). DNS (1.1.1.1) to reduce ping.
Critical information for owners of Xiaomi routers with OpenWRT-based firmware (for example, Mi Router) 3G): in these models, NAT hard sewn into the core of the system, and it is impossible to get Type 1 without replacing the firmware with an alternative one (for example, Padavan).