📡
Security

Securing your router admin panel: default passwords, remote access and DNS

27.11.2026
← All articles

To most people a router is just a box that provides internet, but it is the centre of the whole network. Anyone who gets into its admin panel can read the Wi-Fi password, change the DNS server every device uses and open paths from the internet to internal computers. Yet many offices and homes still run the panel on its factory password or leave it reachable from outside. Here is how to secure it step by step.

Change the default login and password

Many routers ship with identical or easily guessed admin passwords, and lists of them are freely available online. Log in and set a strong, unique admin password that differs from the Wi-Fi password: guests and staff know the Wi-Fi password, while the panel password should be known only to the one or two people responsible for the network. Change the admin username too if the router allows it. The panel usually lives at the default gateway address, such as 192.168.1.1:

# Windows
ipconfig | findstr /i "Gateway"

# Linux
ip route | grep default

Close management from the internet

Remote management exposes the panel on your public IP, and bots constantly scan for such panels and try passwords. Turn it off unless you truly need it; if you do, connect to the office network over VPN and use the internal address instead. To check from an outside network such as mobile data, replace 203.0.113.10 with your own public IP and scan only an address you own:

nmap -Pn -p 22,23,80,443,7547,8080,8443 203.0.113.10

Investigate any port shown as "open". Port 7547 is commonly used by TR-069, the ISP's remote management protocol, so talk to your provider before disabling it yourself.

Example: a pharmacy in Namangan

Staff at a small pharmacy in Namangan noticed that a strange page appeared when they tried to open their bank's site, while antivirus found nothing. It turned out the router's DNS settings had been changed to unknown servers: the panel used its factory password and was open to the internet, so every device was resolving names through a rogue DNS server. The router was reset, its firmware updated, a strong password set and remote management disabled, and staff were advised to change their passwords.

Check DNS settings

DNS hijacking is dangerous because users land on fake sites even when they type the correct address. In the WAN or Internet section of the panel, the DNS servers should be your ISP's or a well-known public resolver you chose deliberately. To see what your computer uses:

# Windows
ipconfig /all | findstr /i "DNS"
nslookup example.uz

# Linux
resolvectl status

Firmware, UPnP and port forwarding

Install firmware updates and enable automatic updates if available; if the vendor no longer supports your model, plan a replacement. UPnP lets devices open ports on the router by themselves, which malware or a vulnerable camera can abuse, so disable it on office networks and open required ports manually. Review port forwarding and DMZ rules too: old rules for cameras or remote desktop often linger long after they are needed, and DMZ should normally be off.

If you suspect the router is compromised

If the panel password changed, DNS points to servers you did not set or unknown port rules appeared, a factory reset is the most reliable fix; check the vendor manual for the exact procedure. Update the firmware, configure everything from scratch and do not restore an old backup file, which may contain the malicious settings. Then change passwords for important accounts used on that network, including email, banking and your sayt.uz cabinet, and turn on two-factor authentication.

Related articles

🗝️ Don't keep passwords and keys in code: managing secrets properly 🔐 Protecting WordPress from Brute Force with fail2ban 🦠 Malware Scanners on Hosting: How They Work and How to Read Results 🔑 Stolen LLM API key: how to cap your costs
🌐 Language
🇺🇿 O⁠'zbek 🇺🇿 Özbek (yangi) 🇺🇿 Ўзбек 🇷🇺 Русский 🇬🇧 English ✓