Skip to content

A modern home can hold thirty or forty connected gadgets: smart plugs, bulbs, cameras, doorbells, robot vacuums, printers, thermostats, speakers, a fridge with a screen. None of them lets you install a VPN app. They run small fixed programs, they talk to a manufacturer's cloud, and many of them are never updated after they leave the factory. That is why the question "can I use a VPN for IoT devices" almost always ends at the router.

This article is about that one idea: putting the VPN on the router so that the gadgets behind it are covered without any software on the gadgets themselves. We look at what it actually protects, what it cannot fix, what to do before touching a VPN, how to decide which devices go through the tunnel, and how to troubleshoot the odd problems that appear when a doorbell or a speaker meets a tunnel. For the broader smart-home picture, see our guide to a VPN for the smart home, and for the router-versus-app trade-off in general, VPN router vs VPN app.

Why IoT devices cannot simply run a VPN app

A phone or laptop has an operating system that lets you install applications and approve a VPN. A smart bulb has firmware: a single program written by the manufacturer. There is no app store and no setting where you could sign in with a username and password. Even devices that look like computers, such as smart TVs, streaming sticks and some cameras, often run a restricted version of an operating system that only allows software approved by the maker. For TVs and set-top boxes there are sometimes VPN apps, and our help pages cover smart TVs. Most of the small gadgets do not have that option.

The router is the one device that all of them already trust. Everything the gadgets send to the internet leaves through it. If the router itself keeps a VPN connection open and sends selected traffic through it, the gadgets are inside the tunnel without knowing. That is the whole appeal of router-based protection.

What a router VPN does for IoT devices

It helps to be specific about the benefits, because they are narrower than the marketing often suggests.

  • It hides destinations from your internet provider. Without a VPN your provider can see which cloud services your cameras and speakers contact and when. With one, it sees an encrypted connection to the VPN server.
  • It encrypts traffic that may be sent weakly. Some cheap devices still use old or poorly configured connections. A tunnel from the router wraps that traffic on the way out of your home.
  • It gives all chosen devices the same outbound address. Instead of each device appearing with your home connection's address, they share the VPN server's.
  • It protects travel setups. A small travel router with a VPN client, placed in front of a streaming stick or a portable camera in a rented flat, covers devices that cannot run an app.

Think of it as a coat over the whole group. The coat helps against a cold wind. It does not repair a hole in the gadget underneath.

What it does not do

This is the part that most guides skip.

Problem Does a router VPN fix it? What actually helps
Camera uses the default password No Change the password, use a strong one, enable two-factor sign-in on the app account
Device has old firmware with known flaws No Update, or replace the device
Another device inside your home is hostile No Separate IoT devices onto their own network
A device quietly sends data to its maker No The maker still receives the data, only the path changes
Someone tries to log in to your camera app account No Unique passwords and multi-factor authentication
Your home address is visible to your ISP Partly The ISP sees a tunnel instead of destinations
An attacker on your local network No The tunnel starts at the router, so devices inside your home still see each other

The last row matters. A router VPN protects traffic after it leaves your router. A compromised plug on the same network can still try to reach your laptop or camera because both sit on the same local network. Our article on what a VPN cannot protect you from covers this limit in general terms.

Do these four things before you add a VPN

A tunnel is the fifth step, not the first. These four steps usually reduce risk more.

  1. Separate the network. Most routers allow a guest network or a second Wi-Fi network. Put IoT devices there and keep laptops, phones and the file server on the main network. Devices on the guest network should not be able to reach the ones on the main one. If your router supports VLANs, the same idea applies with more control.
  2. Change every default password and name. Cameras and doorbells are scanned constantly on the internet for factory logins. Use a unique password per device or per account.
  3. Update, then enable automatic updates where the maker offers them. If a gadget no longer receives updates, treat it as a candidate for the isolated network or for replacement.
  4. Turn off remote features you do not use. Many devices open an inbound port or a relay connection by default. Disable universal plug-and-play on the router and switch off cloud access for devices that only need local control.

Account security matters too, because most IoT breaches begin with a stolen app password, not with traffic interception. Enable two-factor sign-in on the app accounts for cameras, doorbells and thermostats. The CISA guidance on multi-factor authentication explains why.

Choosing which devices go through the tunnel

You do not have to put everything behind the VPN. A good plan sorts devices by what they do.

Device type Route through the VPN? Reason
Cameras and doorbells that upload to the cloud Often yes Sensitive content, steady outbound traffic
Voice assistants and smart speakers Maybe Privacy benefit, but latency and regional behaviour can change
Smart bulbs, plugs, switches Optional Little data; cloud control may break if the address changes
Thermostats and sensors Optional Low data; test that the app still reaches them
Printers and NAS boxes on the local network Usually no They mostly talk to local devices; a tunnel adds nothing
Game consoles and streaming sticks Case by case Speed and service checks may behave differently

Whether this is possible depends on the router's VPN feature. Some routers can send all traffic through the tunnel; better ones let you choose devices by their local address or by a tag. Read router split tunneling to see what to look for, and the router kill switch to understand what should happen if the tunnel drops. If it does drop and the router falls back to the normal path, the gadgets keep working but their traffic is no longer protected. If the router blocks traffic instead, they lose internet until the tunnel is back. Pick the behaviour that matches how much you rely on each device.

How to set up a router VPN for IoT devices, step by step

The exact menus depend on the router, so use the outline below with the maker's instructions and our guide on setting up a VPN on a router.

  1. Check that your router can act as a VPN client. Many ISP-supplied routers cannot. If yours cannot, a separate small router can sit behind it and handle VPN duty for the IoT network.
  2. Confirm that your VPN service allows router use. Terms and technical support differ between providers, so read the setup information that came with your account before you start. With XPASS, setup instructions and supported connection methods are shown on your My Pass page.
  3. Enter the VPN login details from your account in the router's VPN client page. Keep them out of screenshots and chat messages.
  4. Create a separate network or group for IoT. If the router supports it, tie the VPN to that network only.
  5. Start with one device. Put a single camera or speaker on the tunnel, then check it from the phone app for a day.
  6. Add the rest slowly. Move a device, test its app, then move the next.
  7. Write down how to undo it. A note on the router with the steps to take a device off the tunnel saves an evening of frustration.

If your router cannot run a VPN client, you can still protect the devices that matter by choosing ones that run apps, or by using a travel router as a bridge in front of a streaming stick.

Three realistic scenarios

The apartment with cheap cameras. Wei installed three inexpensive cameras that upload clips to a cloud app. He moves them to a guest network with client isolation, changes the factory passwords, switches on two-factor sign-in for the account and then routes that guest network through a router VPN. His provider can no longer see which services the cameras contact. If the VPN drops, the cameras stop uploading rather than falling back silently, which is what he wanted for this group.

The family with a voice assistant. Anya's family has two smart speakers and a handful of bulbs. After moving the speakers behind the tunnel, voice commands become slower and one music service asks for extra confirmation. She leaves the speakers on the normal path, because for her the benefit was small, and instead isolates them on a separate Wi-Fi network and turns off the microphones when nobody is home.

The rental flat. Tomás travels for work and brings a streaming stick, a portable camera and a small router. The small router connects to the flat's Wi-Fi, runs the VPN client and offers a private network of its own. Everything he plugs into it is covered without touching the owner's network.

Troubleshooting when a gadget stops working

Problems after enabling a VPN are common and usually easy to explain.

  • The device goes offline. Take it off the tunnel and confirm that it recovers. If it does, the tunnel is the cause. Try another server from your VPN settings, or leave this device outside.
  • The app says the device is unreachable. Many apps find devices on your local network. If your phone is on a different network from the gadget, discovery can fail. Put them on the same network, or make sure local traffic is not forced into the tunnel.
  • Voice or video is delayed. The tunnel adds a small delay. A server that is closer gives lower latency, and a cabled connection to the router helps too.
  • A service asks for extra verification or shows a CAPTCHA. The address belongs to a VPN server shared with other people. Leave that device outside the tunnel or try later.
  • Every device lost internet. Check whether the router's kill switch is blocking traffic because the tunnel is down. Reconnect the tunnel or fix its credentials.
  • Devices keep dropping at night. Some routers renegotiate tunnels badly after a long idle period. Update the router firmware and try a different connection setting if offered.

Common mistakes

  • Expecting a router VPN to repair a device with weak passwords or outdated software.
  • Putting every device on one flat network and then relying on the tunnel for safety.
  • Routing latency-sensitive gadgets and wondering why voice commands lag.
  • Forgetting to test what happens when the tunnel drops.
  • Sharing the VPN credentials in a chat to "help a friend set it up".
  • Buying a router that cannot run a VPN client after reading a feature list that only mentioned a VPN server.

Summary

IoT devices cannot run VPN apps, so a router is the practical place for a VPN if you want their traffic inside a tunnel. It hides what they contact from your internet provider and encrypts weak links on the way out, but it does not repair weak passwords, outdated firmware or a hostile device on your own network. Separate your IoT devices, update them, enable two-factor sign-in on their accounts and then route the ones that benefit through the tunnel, one at a time, with a plan for what happens if it drops.

If you also want your laptop and phone covered when you leave home, you can compare the options on the pricing page at your own pace.

Frequently asked questions

Can I install a VPN app on a smart plug, bulb or camera?

Almost never. These devices run small, locked-down software with no place to install apps. The practical way to put them behind a VPN is to run the VPN on the router that they connect to.

Does a router VPN make an insecure IoT device safe?

No. It hides the device's internet traffic from your internet provider and puts it inside a tunnel, but a camera with a default password or old firmware is still weak. Fix passwords, updates and network separation first.

Will a router VPN break my smart speaker or cameras?

It can. Some devices expect to talk to services in your own region or react badly to a different address or extra delay. Move one device at a time and keep a way to take it back off the tunnel.

Should every device in the house go through the VPN?

Not necessarily. Many people route only the devices that benefit, such as cameras and assistants, and leave latency-sensitive or local-only gadgets outside the tunnel.

About the author

Bob Kanokphon Thongdee, founder of XPASS VPN

Bob Kanokphon Thongdee

  • Founder of XPASS VPN
  • Co-founder of eSIMonline.asia
  • More than 7 years in online marketing
  • Founder of Cojourney Visa and Cojourney Travel

Need a VPN for a short trip or a busy month?

XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.

See passes

Keep reading

Device Guides

VPN for Smart Homes: What Needs Protection?

Most smart home devices cannot run a VPN, and many would break if you forced them through one. See what actually needs protection and which steps matter more.

9 min read

VPN Basics

VPN Router vs VPN App: Which Setup Fits Your Home?

Should you install a VPN on the router or on each device? This guide compares the two setups for speed, smart home gadgets, mesh Wi-Fi, split tunneling and everyday convenience.

10 min read

Device Guides

Router VPN Policy Routing and Split Tunneling

Policy routing lets one router send some devices through the VPN and leave others on the normal connection. This guide explains the methods, the rules and the traps.

10 min read

Device Guides

How to Prevent Leaks When a Router VPN Disconnects

A phone app can warn you when the tunnel drops. A router cannot. This guide explains the vpn router kill switch idea, how to make the router fail closed, and how to test it.

10 min read

Privacy Guides

What a VPN Cannot Protect You From

A VPN secures the connection, not the person using it. This guide covers phishing, malware, ransomware, identity theft, data breaches, email privacy and other risks it cannot solve, and what to do about each.

9 min read