Also on CyberFence: the free CyberFence security tools · run a free DNS leak test .

Quick answer

Does a VPN protect you if your router is hacked?

Mostly. On each device where it's connected, a VPN encrypts your traffic before it reaches the router, and CyberFence keeps your DNS lookups inside that encrypted tunnel. A hacked router then can't easily read your traffic or send you to fake sites. It can't fix the router, though, and devices without the VPN stay exposed.

Home Wi-Fi router glowing on a living room shelf at night with a laptop and phone in the foreground

Router hacks aren't just a theory this month. On November 20, 2026, router maker GL.iNet confirmed that an attacker exploited a flaw in its cloud remote management service to install malware on some customers' routers and remote-access devices, BleepingComputer reported on November 22. Some owners found backdoors that gave outsiders remote control.

Your router sits between all your home devices and the internet. If someone takes it over, here's what they can do, what a VPN stops, and what you still need to fix yourself.

What a Hacked Router Can Do

A router controls how every phone, laptop and smart device in your home finds and reaches websites. Once an attacker controls it, three things become possible:

  • Redirect your lookups. The attacker changes the router's DNS setting, the "phone book" your devices use to find sites. Any device that joins your Wi-Fi inherits the change.
  • Watch where you go. Even when pages are encrypted with HTTPS, the router can log which sites each device looks up and connects to, and when.
  • Use your connection for crime. Infected routers are often rented out as "residential proxies," so criminals' traffic looks like it's coming from your home.

How a VPN Gets Around a Hacked Router

When CyberFence is connected, your device wraps its traffic in an encrypted tunnel before sending it to the router. The router still passes the traffic along, but all it can see is encrypted data going to a CyberFence server. That changes what an attacker on the router can do:

  • Your lookups skip the router. With CyberFence connected, your device's DNS lookups travel inside the AES-256-GCM tunnel instead of using the DNS setting your router hands out. That's the exact trick the FBI described, and it stops working on that device.
  • Your browsing stays private from it. The router can no longer log which sites you visit, only that you're connected to a VPN and how much data you use.
  • Fake sites are harder to slip in. Web Shield blocks known malicious domains while you're connected, which adds a layer if a bad link reaches you anyway.

See why people choose CyberFence

Watch how CyberFence keeps your browsing private from the networks you connect through.

Watch the Why CyberFence? film

Select play to load YouTube, then start the film in the player. YouTube processes data when loaded; its privacy policy applies.

Watch on YouTube (opens a new tab)

Read the video transcript

When you connect, your traffic runs through your VPN. So it matters who runs it, and what it keeps.

CyberFence is built by cybersecurity professionals. Your VPN traffic runs through servers in the United States.

And our privacy policy says it in plain words. We don't log your VPN browsing activity, DNS queries, connection timestamps or assigned IP addresses. We never store your card number.

The same protection works with Windows, Mac, iPhone, iPad and Android. Start monthly, and cancel anytime.

Read the policy yourself. Then decide. Protection you can check. Get protected today.

Real Router Attacks in 2025 and 2026

In an April 7, 2026 public service announcement, the FBI said Russian military intelligence hackers had compromised routers worldwide and changed their DNS settings so that "connected devices, including laptops and phones, inherit these modified settings." The hackers sent fake answers for services like Outlook web mail and harvested passwords, sign-in tokens and emails from users who clicked through certificate warnings.

Separately, in a May 7, 2025 announcement, the FBI warned that criminals were infecting end-of-life routers with variants of TheMoon malware and selling access to them as proxies.

The GL.iNet case shows why cleanup is hard. The company said its fix means "devices can no longer be newly infected through this attack path," but that it does not remove malware from devices already infected. BleepingComputer's analysis found the malicious script set itself to restart after a reboot and could install keys that let attackers sign in remotely. In other words, a router can stay compromised long after the original hole is closed, and you may not notice anything is wrong.

Routers You Don't Control

Your own router is the one you can check. Most of the routers your phone connects to in a year are not. The hotel, the vacation rental, your apartment building, the coffee shop and a relative's house all run routers you can't log in to, update or reset. You have no way to know whether any of them is out of date or tampered with.

That's where a VPN earns its keep. You can't fix someone else's router, but you can make sure your own traffic is encrypted before it passes through it. Turning CyberFence on whenever you join a network you don't manage protects you on all of them the same way.

Where a VPN Falls Short

Be clear about the limits, because a VPN is one layer, not a router repair kit:

  • Devices without the VPN stay exposed. Smart TVs, game consoles, doorbells and printers usually can't run a VPN app, so they keep using the router's settings.
  • The router is still infected. A VPN doesn't remove malware, close a backdoor or stop criminals from renting your connection as a proxy.
  • The moment before it connects matters. If your device sends traffic before CyberFence connects, or the VPN drops, that traffic goes through the router directly. Keep the kill switch on so traffic stops instead.
  • Your other home devices can be attacked. An attacker who controls the router may be able to reach other devices on your home network. Keep your computers and phones updated.

Signs Your Router May Be Hacked

No single sign proves it, and well-built router malware can hide. BleepingComputer found the GL.iNet malware replaced a system tool to hide its own connections. But these are worth checking:

  • DNS settings you didn't choose in the router's admin page.
  • An admin password that no longer works, or admin accounts you don't recognize.
  • Remote management turned on when you never enabled it.
  • Certificate warnings on sites that normally load fine, especially email and banking.
  • Unknown devices in the connected-devices list.

The certificate warning is the one to take most seriously. The FBI said the router attacks it described only exposed encrypted traffic when users clicked past a certificate error. If your browser warns you on a familiar site, stop and don't sign in.

What to Do If You Think Your Router Is Compromised

  1. Turn on CyberFence on your phones and computers first, so your traffic is protected while you work on the router.
  2. Update the firmware. Install the latest security update from the manufacturer's own site or app. GL.iNet told affected owners to install its latest security firmware even if no malware was found.
  3. Reset without restoring old settings. Malicious files can survive an ordinary update. A full reset, set up fresh rather than from a saved backup, is safer.
  4. Change the admin password and your Wi-Fi password, and turn off remote management from the internet unless you truly need it. The FBI recommends both.
  5. Replace it if it's end-of-life. The FBI says routers from 2010 or earlier likely no longer get updates. If yours doesn't, buy a supported model.
  6. Change important passwords if you clicked through any certificate warnings, starting with email.

The NSA's home network guidance (February 2023) adds a simple habit: keep routers on automatic updates where possible, and replace them when they reach end of support.

What a VPN Won't Do

A VPN won't fix or clean a hacked router, and it doesn't protect devices that aren't running it. It doesn't stop phishing on its own, and Web Shield blocks known malicious sites, not every new one. It doesn't hide your activity from your employer on a work-managed device, and the VPN provider can see connection details. And a VPN doesn't make you anonymous.

Frequently Asked Questions

Can a hacked router see what I do online?

Without a VPN, a hacked router can see which sites your devices look up and connect to, and it can redirect those lookups to fake servers. Most sites use HTTPS, so it usually can't read page contents unless you click through a certificate warning. With a VPN connected, the router sees only encrypted traffic going to the VPN server.

Does a VPN stop DNS hijacking from my router?

On the devices where it is connected, yes. With CyberFence on, your device's DNS lookups travel inside the encrypted tunnel instead of using the DNS setting your router hands out. Devices without the VPN, like a smart TV, still use the router's DNS.

How do I know if my router has been hacked?

Common signs include DNS settings you didn't set, admin passwords that no longer work, unknown devices or new admin accounts, certificate warnings on sites that normally load fine, and remote management turned on when you didn't enable it. Some router malware hides well, so a clean check is not proof.

Should I still replace an old router if I use a VPN?

Yes. The FBI recommends replacing end-of-life routers that no longer get security updates. A VPN protects your own traffic, but it can't remove malware from the router or stop criminals from using it as a proxy.

Read Next

Bottom line

A VPN is one of the most practical protections against a router you can't fully trust. With CyberFence connected, your traffic and lookups are encrypted before they reach the router, so it can't easily watch or redirect you. But it won't fix the router. Update or replace it, reset it cleanly, turn off remote management, and never click through a certificate warning on a site you use every day.

Want to go deeper? Read our free privacy and security tools , the CyberFence DNS leak test , or the CyberFence WebRTC leak checker .