🛡️ GANVAS VPN
← All articles

How to Secure Your Home Network and Traffic: The Complete Guide

A home network stopped being “a couple of computers and a printer” long ago. Today your router connects laptops, phones, a TV, a speaker, cameras, light bulbs, a vacuum, and a watch. Every one of those devices is a doorway into your private life, and every one needs protecting. The good news: most threats are closed off by simple, free actions. This article is one big practical checklist — from router settings to traffic encryption and isolating “smart” gadgets.

Threat model: who you’re defending against

Before tweaking anything, it helps to understand who can cause harm and how. “Defending against everything” is a path to burnout; defending against real threats is a path to peace of mind.

Who can see your traffic

  1. Your internet provider (ISP). Sees every domain you open (via DNS), plus timing and traffic volume. It can sell anonymized statistics, enforce blocking orders, and even tamper with DNS responses.
  2. Neighbours and Wi-Fi attackers. A weak Wi-Fi password or outdated encryption lets someone join your network and intercept traffic inside it.
  3. IoT devices. Cheap cameras, bulbs, and plugs often ship with vulnerabilities, never get updates, and “phone home” to the maker’s servers. A hacked device becomes a foothold for attacking the rest of your network.
  4. Public exposure. A port opened to the internet (a forward for a camera, a NAS, or remote router admin) is found by scanners within minutes. This is the single most common path to a breach.
  5. Trackers and ads. Even without any breach, websites, apps, and DNS providers build a profile of your interests.

The principle: defence in depth

No single action covers everything. Security is layers: a hardened router, Wi-Fi encryption, a private DNS, encrypted traffic, isolation of untrusted devices, and password hygiene. If one layer is breached, the others hold the line.

Step 1. Router hardening

Your router is the front door to your home. If it’s wide open, nothing else matters.

Router baseline checklist

  1. Change the admin password. Factory admin/admin is known to everyone. Set a long, unique password for the router’s web panel.
  2. Update the firmware. Vendors patch vulnerabilities in updates. Open the panel, check for a newer version, and enable auto-updates if available.
  3. Disable remote administration (Remote Management / WAN admin access). You should manage the router only from your local network. Exposing the panel to the internet is a common hole.
  4. Disable WPS. The “quick connect” PIN button is vulnerable to brute force. It’s safer to type the Wi-Fi password manually.
  5. Be careful with UPnP. UPnP automatically opens outbound ports on request from apps and games. Convenient, but risky: malware can punch a port for itself too. If you’re not sure you need it, turn it off.
  6. Disable legacy protocols. Telnet, old SMBv1, and HTTP (rather than HTTPS) access to the panel are all best switched off.
  7. Close unnecessary forwarded ports (Port Forwarding). Every port exposed to the internet is a potential target. Keep only what you actually use, and preferably behind a VPN.

Guest and IoT networks

Modern routers can run separate networks (SSIDs or VLANs). Use this:

  • Guest network — for friends and temporary devices. It’s isolated from your computers and NAS.
  • IoT network — for bulbs, plugs, cameras, and speakers. If one of these is compromised, it can’t reach the laptop with your work files.

Network separation is one of the most underrated moves: it turns “the kettle got hacked” from a disaster into a minor annoyance. There’s a dedicated, hands-on section on segmentation below.

Guest networks and IoT segmentation with VLANs

The core idea behind segmentation is simple: devices you don’t trust should not sit on the same network as devices that hold your data. A hacked $15 camera should have no technical ability to “see” your laptop, NAS, or network printer. Let’s break down how this works and how to set it up in practice.

Why split the network at all

In a “flat” network, every device lives in the same broadcast domain and can reach every other directly: laptop, phone, TV, camera, plug — all on equal footing. That’s convenient (everything “discovers” everything), but dangerous: any compromised device gains direct access to all the others. An attacker who takes over a cheap IoT camera can scan the network, hunt for open SMB shares and vulnerable services, and intercept traffic inside the LAN. Segmentation breaks that reachability.

Separate SSIDs — the first practical step

The most accessible level of segmentation is several wireless networks (SSIDs) on a single router:

  1. Main network — for trusted devices: your work laptop, personal phone, NAS.
  2. Guest network — for visitors and one-off connections. Most routers offer a “client isolation” (or AP isolation) checkbox for the guest network — enable it, and devices inside the guest network can’t even see each other.
  3. IoT network — a separate SSID for the smart home. Cameras, bulbs, plugs, the vacuum, and the speaker live here and have no access to the main network.

Many routers already isolate the guest network from the main one by default — verify this in the settings rather than assuming it.

The concept of VLAN tagging

SSIDs are the “view from the top,” and under the hood the separation is often implemented with VLANs (virtual LANs). A VLAN lets you create several logically independent networks on a single physical switch or router. Here’s how it works:

  • Each virtual network is assigned a numeric tag (VLAN ID) — for example, 10 for trusted, 20 for guests, 30 for IoT.
  • Traffic inside one VLAN never mixes with another’s, even if the cables run through the same switch.
  • A trunk port between the router and a managed switch carries several VLANs at once, tagging each frame with its ID (the 802.1Q standard). An access port hands a device the “clean,” untagged traffic of a single VLAN.
  • Routing between VLANs (and the rules for who can reach whom) is decided by the router. This is where you specify: “the IoT network has internet access but no access to the main network.”

On a simple home router this boils down to binding each SSID to its own VLAN and configuring firewall rules. With a managed switch plus a VLAN-capable router (OpenWrt-class firmware, for example), you get full segmentation that includes wired devices too.

Why cameras and plugs go on an isolated network

“Smart” devices are essentially little computers with stripped-down, rarely updated firmware. Reasons to isolate them:

  1. Unpatched vulnerabilities. The maker of a cheap camera may never ship an update. A known flaw stays open for years.
  2. Hardcoded passwords. Firmware often contains factory accounts that can’t be changed — and their details are published in exploit databases.
  3. “Phoning home.” Many devices constantly talk to the maker’s cloud, sending telemetry. On an isolated network, at least that doesn’t endanger your other devices.
  4. A foothold for lateral movement. A compromised IoT device is an ideal launchpad for attacking the rest of the network: it’s always on and nobody monitors it.

A practical rule: anything you wouldn’t update by hand and don’t trust 100% goes on the IoT network. Access from the IoT network to the main one should be blocked by default in the firewall, with the few exceptions you need (say, your phone controlling the bulbs) opened up narrowly.

Step 2. Wi-Fi security

Wi-Fi is radio that everyone nearby can “hear.” Protection here is first and foremost about encryption.

What actually helps

  1. Enable WPA3. This is the current Wi-Fi encryption standard. If some devices don’t support it, use a mixed WPA2/WPA3 mode — but never leave plain WPA or WEP, which are crackable.
  2. A long Wi-Fi password. At least 12–16 characters, ideally a passphrase of several unrelated words. This is your main defence against neighbours and attackers.
  3. A separate password for the guest network. Don’t hand your main password to every guest.

Myths you shouldn’t rely on

  • Hidden SSID (hidden network). Hiding the network name doesn’t make it invisible — it’s still broadcast and easily detected with the right tools. Worse, your devices start “searching” for that network everywhere, which reveals the name anyway. It provides no real protection.
  • MAC address filtering. A MAC address is trivial to spoof, and the listed addresses are visible in the clear. It creates an illusion of control and inconvenience for you, but it doesn’t stop an attacker. Real protection is encryption and a strong password, not a MAC filter.

The takeaway is simple: a strong password and WPA3 matter more than any “secret” tricks.

Step 3. DNS hardening

DNS is the internet’s “phone book”: it turns site names into IP addresses. By default, queries go to your ISP in plain text, and it sees every domain you open.

What to do about DNS

  1. Pick a trusted resolver. Instead of your ISP’s DNS, use a public resolver with a clear privacy policy.
  2. Enable DNS encryption. DNS-over-HTTPS (DoH) or DNS-over-TLS (DoT) hide your queries from your ISP and from anyone listening on the network. Many browsers and operating systems support this in settings.
  3. Avoid DNS leaks. Even with a VPN enabled, queries sometimes escape the tunnel. This is called a DNS leak, and because of it your ISP still sees your sites. We covered it in detail in What Is a DNS Leak.

You can check for leaks in a minute: run the VPN Check and the WebRTC Leak Test — the latter shows whether your browser is exposing your real IP around the tunnel.

Step 4. Encrypting traffic

A hardened router and a private DNS are half the job. The other half is the content of the traffic itself.

HTTPS everywhere

Almost all of the modern web is encrypted with HTTPS — watch for the padlock in the address bar. Install an extension that forces HTTPS, and never enter passwords on sites without encryption. HTTPS protects page contents, but it doesn’t hide the existence or address of the connection from your ISP — that’s what a VPN closes.

Why a VPN matters on shared networks

On a shared network (a dorm, a coworking space, a café, a hotel) there may be untrusted devices and an untrusted administrator nearby. A VPN creates an encrypted tunnel, so neither a Wi-Fi neighbour nor the network owner sees your traffic — only the fact that you’re connected to a VPN. This matters most away from home, but even at home a VPN hides domains from your ISP.

A good VPN client must have:

  1. A kill switch — instantly blocks traffic if the tunnel drops, so not a single packet escapes directly.
  2. Leak protection for DNS, IPv6, and WebRTC.
  3. Modern protocols that resist blocking.

You can check your current IP and location with My IP, and confirm the VPN connection with the VPN Check. If you’re choosing a solution, take a look at GANVAS VPN — it routes DNS inside the tunnel and closes leaks, including multi-homed ones on Windows.

Step 5. Device hygiene

A network is only as safe as the devices on it.

Device checklist

  1. Update everything. OS, browser, apps, firmware. Most mass breaches exploit long-patched vulnerabilities that victims simply never updated.
  2. Unique passwords everywhere. Reusing one password across sites is a leading cause of breaches: a leak from one service opens all the others. Use a password manager.
  3. Check your passwords. Find out whether your password has appeared in known breach databases with the Password Breach Check, and rate a new password with the Password Strength Check.
  4. Enable two-factor authentication (2FA). Even if a password is stolen, no one gets in without the second factor. Prefer authenticator apps over SMS.
  5. Tune browser privacy. Block third-party trackers and limit your browser fingerprint. See what your browser reveals about you right now with My Browser.

Step 6. Isolating IoT and the smart home

“Smart” devices are the weakest link in a home network. They’re cheap, rarely updated, and often carry known vulnerabilities.

How to segment untrusted devices

  1. A separate network for IoT. Put cameras, bulbs, plugs, and speakers on a separate SSID or VLAN, isolated from your computers.
  2. Don’t expose cameras directly to the internet. If you need remote access, do it through a VPN, not an open port. Exposed cameras get indexed by scanners en masse.
  3. Change factory passwords on every device with a web panel.
  4. Disable unused features. UPnP, cloud access, remote management — if you don’t use them, turn them off.
  5. Choose vendors that ship updates. A device without support is a ticking time bomb.

Secure remote access to your home network

Sooner or later you’ll need to reach home from the outside: check the cameras, grab a file off the NAS, connect to a home server. The most dangerous solution here is the most obvious one: “I’ll just forward a port on the router.” Let’s see why you shouldn’t, and how to do it right.

Why you should NOT forward ports to the internet

Port forwarding exposes a service on your internal device straight to the internet: anyone in the world can knock on your public IP and that port. The problem is that “anyone in the world” is, first and foremost, automated scanners:

  • Shodan and similar search engines scan the entire internet around the clock and index open ports. An exposed webcam, NAS, or router panel lands in their database within hours and becomes findable by anyone.
  • Botnets mass-brute-force passwords on the services they find. Cameras with factory admin/admin and NAS boxes with known flaws get taken over on a conveyor belt, with no human involved.
  • 0-days and unpatched flaws. Even a strong password won’t help if the service firmware itself has a hole. A port exposed to the internet is a permanently available attack surface.

An exposed camera or NAS port is one of the most common causes of home network breaches, period. Exposing the router’s admin panel, or RDP/SSH without extra protection, is especially dangerous.

The right way: a VPN server instead of open ports

Instead of opening up every service to the internet, set up one encrypted entrance — a VPN server on the home side. From the outside only a single “quiet” port is visible, and once you’re inside the tunnel you’re on the home network as if you were physically there:

  1. A VPN server on the router. Many firmwares (including OpenWrt and vendor builds) can run a WireGuard server right on the router. You connect from your phone or laptop and see the NAS, cameras, and printer by their internal addresses.
  2. A VPN server on a separate device. If the router can’t, run the server on a NAS, a mini-PC, or a Raspberry Pi inside the network.
  3. WireGuard as the sensible default. It’s fast, keeps a “quiet” UDP port that barely answers scans, and reconnects instantly when your phone changes networks. For how to stand up your own server and read the config field by field, see the in-depth guide WireGuard from A to Z.

The key difference: with port forwarding you expose many disparate services, each with its own vulnerabilities. With a VPN, only a single cryptographically protected entry point faces the world, while the cameras and NAS stay fully inside, invisible to scanners. For more on how a tunnel hides traffic from outsiders, see how to encrypt your traffic.

Network-level DNS filtering and parental controls

We already covered DNS encryption, but DNS can also be used as a filter — and not on one device, but for the whole home network at once. The idea is to run a local DNS server that intercepts every device’s queries and blocks unwanted domains before a connection is even established.

How it works

When any device wants to open ads.example.com, it first asks DNS for its IP address. If your network DNS filter knows that domain is an ad or malware host, it simply answers “no such thing” — and the connection never happens. Ads, trackers, and known malicious domains are cut off at the root, for every device at once, including the TV and a guest’s phone.

Pi-hole and AdGuard Home

Two popular solutions that install on a Raspberry Pi, a NAS, a mini-PC, or in a container:

  • Pi-hole — the classic network blocker built on blocklists. It intercepts the whole network’s DNS, keeps query statistics, and shows which devices are talking to what.
  • AdGuard Home — a similar solution with a more modern interface, built-in support for encrypted DNS (DoH/DoT), and convenient rules.

Both give you roughly the same thing:

  1. Ad and tracker blocking at the network level — no extension needed in every browser.
  2. Malicious domain blocking via reputation lists — phishing and known C2 domains are cut off for all devices.
  3. Parental controls. You can block categories of sites, enforce “safe search,” and restrict access on a schedule — and it applies to every device on the network, not just the ones with a special app installed.
  4. Transparency. You can see, clearly, how often and where your IoT devices and apps “phone home.”

For the filter to actually cover the whole network, set its address as the DNS server in your router’s settings (via DHCP) — then every device picks it up automatically. One important nuance: a network DNS filter and a VPN need to be reconciled so DNS queries inside the tunnel don’t bypass the filter (or vice versa) — verify there are no leaks with the VPN Check.

Step 7. Assess your privacy posture

After all the tweaks, it helps to see the whole picture. The Privacy Score tool pulls it together: whether your real IP is visible, whether there are leaks, what your browser reveals — and shows where weak spots remain. It’s a fast way to confirm that your layers of defence actually work.

Signs of a hacked home network and basic monitoring

Security isn’t only “set it once and forget it” settings — it’s also the habit of noticing when something is off. Most home network compromises can be caught from indirect signs, without being an expert.

What to watch for

  1. Unfamiliar devices. Open the router panel and look at the list of connected clients (the DHCP table). If there’s a device you don’t recognize, that’s worth investigating. It helps to periodically reconcile the list against what you actually have at home.
  2. Traffic spikes. A sudden rise in outbound traffic for no reason can mean a device has joined a botnet, is sending spam, or is taking part in attacks. Many routers show per-device statistics.
  3. Changed DNS settings. A favorite attacker trick is to swap the DNS server on the router to quietly redirect you to phishing sites. Periodically verify the DNS in your router’s settings is exactly the one you set, not someone else’s address.
  4. Settings changing on their own. A reset admin password, remote access or WPS re-enabling itself, new port-forwarding rules you didn’t create — all are warning signs.
  5. Slowdowns and odd behavior. Constant lag, redirects to unfamiliar pages, ads popping up where they shouldn’t — sometimes a symptom of a compromised router or device.

Basic monitoring without complex tools

  • Regularly check the device list in the router panel — the simplest, most effective habit.
  • A network DNS filter (Pi-hole / AdGuard Home from the section above) shows where your devices are reaching out, so an anomaly stands out immediately.
  • Check your public IP and location with My IP: if it doesn’t match what you expect, that’s a cue to look closer.

What to do if you suspect a compromise

If you suspect the network or router has been hacked, act in order:

  1. Change all passwords. First the router admin password and the Wi-Fi password. Then key accounts (email, banking), especially any opened on the compromised network. Do this from a device you know is clean.
  2. Update the router firmware to the latest version — the breach may have used an already-patched flaw.
  3. Check the router settings for foreign changes: DNS servers, port-forwarding rules, remote access, the admin list. Remove anything you didn’t create.
  4. Do a full factory reset of the router if you have any doubt you cleaned everything, then set it up from scratch using the checklist in this article.
  5. Enable 2FA on important accounts if you haven’t — so stolen passwords don’t grant access.
  6. Scan your devices for malware and update them.

Backups and recovery

Backups are rarely counted as part of security, but that’s a mistake. Ransomware, a device failure, an accidental router reset, or a successful attack — all of these destroy data. Security isn’t only “keep the attacker out,” it’s also “recover quickly if something happens.” Without a backup, any incident turns into a catastrophe.

What’s worth backing up

  1. The router configuration. Most routers can export their settings to a file. Save it after you’ve configured the router per the checklist: if you ever have to factory-reset (say, after a compromise), you restore a working configuration in a minute instead of recalling dozens of toggles.
  2. Important personal data. Documents, photos, work files. Losing them is irreversible, so that’s where to start.
  3. Network service settings. Pi-hole/AdGuard Home configs, the VPN server, the NAS — so a move or a failure doesn’t mean rebuilding everything from scratch.

The 3-2-1 rule

The classic principle of reliable backups:

  • 3 copies of the data (the original plus two backups).
  • 2 different media (an external drive and network storage, for example).
  • 1 copy off-site (the cloud, or physically somewhere else). This saves you from fire, theft, and ransomware that reaches every local disk at once.

Don’t forget

  • Test your restores. A backup you’ve never restored from is not a backup — it’s a hope. At least once, confirm you can actually recover the data from a copy.
  • Encrypt your backups, especially those stored in the cloud or on portable drives — so their leak doesn’t become a leak of your data.
  • Automate it. Manual backups get done once and forgotten; a scheduled copy job runs itself.

A VPN on the router: protect every device at once

Everything we discussed about encrypting traffic can be applied to the whole home network in one move — by setting up a VPN not on each device, but right on the router. Then any connected gadget — the TV, a guest’s phone, an IoT device that can’t run a VPN client — automatically reaches the internet through an encrypted tunnel.

The upsides: a single point of configuration, protection for devices that don’t support a VPN, and hiding domains from your ISP for the whole network at once. The downsides and nuances (protocol choice, speed, which devices are better routed around the tunnel) are covered in detail in a separate article — VPN on the router. It also walks through the step-by-step setup and the pitfalls.

The final printable checklist

Print this out and walk through each item.

Router

  1. Admin password changed.
  2. Firmware updated, auto-updates enabled.
  3. Remote administration disabled.
  4. WPS disabled.
  5. UPnP disabled (or deliberately kept).
  6. Legacy protocols (Telnet, HTTP panel, SMBv1) disabled.
  7. Unnecessary forwarded ports closed.

Wi-Fi and segmentation 8. WPA3 enabled (or WPA2/WPA3). 9. Wi-Fi password is a long, unique passphrase. 10. A separate guest network is running. 11. IoT devices on a separate network/VLAN.

DNS and traffic 12. A trusted resolver with DoH/DoT is in use. 13. DNS and WebRTC leaks checked. 14. HTTPS-everywhere enabled. 15. A VPN with a kill switch and leak protection is set up.

Devices and accounts 16. All devices updated. 17. Passwords are unique, stored in a manager. 18. Passwords checked against breaches. 19. 2FA enabled on key accounts. 20. Browser privacy configured. 21. Privacy verified with an overall test.

Access, monitoring, and recovery 22. Remote access to home is via a VPN, not port forwarding. 23. Internet-exposed services (cameras, NAS) are closed off. 24. The router’s device list is checked periodically. 25. The router’s DNS is verified and not tampered with. 26. The router configuration is saved to a backup. 27. Important data is backed up per the 3-2-1 rule.

Where GANVAS fits

Several layers of this checklist are covered by a VPN, and it matters that it’s done right. GANVAS VPN gives you a kill switch, DNS and WebRTC leak protection, plus support for your own configs for free — you’re not locked into a single provider. The modern VLESS + Reality protocol helps your traffic stay indistinguishable from ordinary HTTPS, which matters under censorship.

If you want to start without paying, check out the free VPN. For desktop there’s a dedicated VPN for Windows page with multi-homed leak protection. And to understand how solutions differ from one another, see the comparison.

Home security isn’t one heroic sprint — it’s a set of simple habits. Walk through the checklist once, repeat it every few months, and most threats will pass you by.