Find a proxy/VPN
EN RU
GUIDE · BASED ON AMNEZIA DOCS · OCTOBER 2026

AmneziaWG and Amnezia VPN on a Keenetic router

Upload the AmneziaWG .conf file to your router once — and phones, TVs and laptops on your home Wi-Fi get a protected connection without installing anything. Below: which KeeneticOS you need, the steps from Amnezia’s docs and how to send only chosen devices through the VPN.

✍ BestProxyHub Team🗓 Updated 29/10/2026⏱ 9 min read

✓Steps from the official docs1Router = 1 of 7 devices⌂No apps on your devices
IN SHORT: THREE STEPS
  1. 1Get a .conf filein your Amnezia Premium account
  2. 2Upload it to the routerInternet → Other connections → Upload from file
  3. 3Turn it onand choose which devices use the VPN
⏱ allow 15–20 minutes, including a firmware update Get Amnezia Premium →
BEFORE YOU START

What you need for the setup

Four things — and all of them come from official places: your router’s own web interface, Amnezia’s documentation and your Amnezia account.

ROUTER INTERFACE

my.keenetic.net

The router’s settings page (or 192.168.1.1). You need the administrator login, admin by default.

AMNEZIA PREMIUM

cp.amnezia.org

Your account: this is where you create the AmneziaWG .conf file for the router. Create it with the VPN turned off.

OWN SERVER

AmneziaVPN

Self-hosted: in the app, share the connection and choose the “Original AmneziaWG format”.

DOCUMENTATION

docs.amnezia.org

Instructions for Keenetic/Netcraze: the current one and a separate one for the older interface.

Back up your settings first

Before any changes, download the firmware and startup-config files in System settings → Files. A developer build may be less stable than the release one, so Amnezia recommends turning off automatic updates.

CHECK FIRST

Will your router work

The version of KeeneticOS decides which guide you follow. You can see it on the router’s start page and in System settings.

What to checkWhat you needIf not
ModelKeenetic or Netcraze from Amnezia’s list (Giga, Hero, Start, Air, Ultra, Viva, Speedster, Hopper and others)check the list in the documentation
KeeneticOS5.2 Alpha 11 or later — AmneziaWG 3.1 built inupdate via the developer channel, or use the older guide
Older KeeneticOS4.2 or later — AmneziaWG 1.0, older interfacebelow 4.2 — update the firmware
ComponentWireGuard VPNinstall it in “Change component set”
AccessAmnezia Premium or your own serverAmnezia Free does not work on a router
STEP BY STEP

Set up your Keenetic

Start with your KeeneticOS version, then set up DNS and choose how traffic goes. Menu names follow the Russian interface used in the docs; the English one may word them slightly differently.

AmneziaWG 3.1 on KeeneticOS 5.2+

Current Amnezia guide: built-in support from 5.2 Alpha 11 (developer channel)

  1. Download a backup: System settings → Files, the firmware and startup-config files.
  2. In System settings switch to the developer update channel and update to KeeneticOS 5.2 Alpha 11 or later. Can’t see the new version? Refresh the page.
  3. Click Change component set, tick WireGuard VPN and click Update NDMS. Wait for the router to restart.
  4. Set up DNS (the “DNS” tab of this guide).
  5. Go to Internet → Other connections and click Upload from file. Choose your AmneziaWG .conf file.
  6. Tick Use for internet access, click Save and switch the connection to On.
💡 Not enough space for the update? Turn off components you don’t use in “Change component set”.
Get a .conf for your router →

AmneziaWG 1.0 on the older interface

Amnezia’s separate guide for KeeneticOS 4.2 and later

  1. Save a backup in Management → System settings (startup-config) and make sure KeeneticOS is 4.2 or later with the WireGuard VPN component installed.
  2. Go to Internet → Other connections, in the WireGuard section click Upload from file and choose your .conf.
  3. Open the new connection (click the row, not the switch) and check that its internal IP address differs from your other WireGuard connections.
  4. Tick Use for internet access and click Save.
  5. On KeeneticOS 4.3.4 and later the extra AmneziaWG parameters are imported from the file automatically. On 4.2–4.3.3 add them by hand in the command line: interface {name} wireguard asc {jc} {jmin} {jmax} {s1} {s2} {h1} {h2} {h3} {h4}, then system configuration save.
  6. Turn the connection on: after a few seconds the peer indicator turns green and the last handshake time appears.
💡 The values Jc, Jmin, Jmax, S1, S2, H1–H4 are in your .conf file — open it in a text editor. The interface name (e.g. Wireguard1) is shown by the show interface command.
Get a .conf for your router →

DNS that goes through the VPN

So that address lookups are protected too

  1. In Network rules → Internet filters, on the DNS setup tab add the servers 8.8.8.8, 8.8.4.4, 1.1.1.1, 1.0.0.1 and 9.9.9.9.
  2. In Internet → Ethernet cable turn on Ignore ISP DNSv4 (recommended, optional) and set IPv6 to Not used.
  3. In Network rules → Routing, on the IPv4 routes tab click Add: type Host route, destination — one of the DNS servers, interface — your WireGuard connection, gateway — empty.
  4. Tick Add automatically, save, and repeat for every DNS address.
💡 If you delete the WireGuard connection, these routes are deleted too — add them again for the new one.
Get Amnezia Premium →

All traffic of chosen devices via the VPN

A separate “VPN” policy: you decide which devices use it

  1. In Internet → Connection priorities check that in the Default policy your main connection is above WireGuard.
  2. Click Add policy, name it, for example, VPN, and save.
  3. Open the VPN policy, tick only the WireGuard connection and save. With only WireGuard in it, traffic won’t go out through the main connection if the VPN drops.
  4. On the Policy application tab move the devices or segments you need into the VPN policy and confirm. The guest network is handy here.
  5. Open ipinfo.io on such a device: it should show the VPN server’s IP.
💡 Per the docs, some local sites may work with errors through the VPN, and torrents and games may be slower — keep such devices in the default policy.
Protect devices at home →

Only part of the traffic via the VPN

Routes by domain name or by IP subnet

  1. On every device turn off custom DNS: Private DNS on Android, secure DNS in browsers, DNS in apps — otherwise domain routes won’t work.
  2. Everything except .ru, .рф and .su: put WireGuard above the main connection in the Default policy; on the DNS routes tab add a list with ru, рф, su (one per line, no asterisks) and a rule to the main internet interface.
  3. Only chosen domains: keep the main connection on top; on DNS routes create a domain list (up to 300 lines) and add a rule to the WireGuard interface.
  4. Only chosen IP subnets: on IPv4 routes click Upload, choose the WireGuard interface and a routes file in Keenetic Routes (.bat) format — up to 1024 lines per file.
  5. Tick Add automatically for every rule and save.
💡 Check: a local IP-check site shows your ISP’s address, ipinfo.io — the VPN server’s. Subdomains are included automatically.
Get Amnezia Premium →
THE MAIN STEP

How to upload the .conf file

A router doesn’t take a vpn:// link — it needs a .conf file in the native AmneziaWG format. One file works on one device only.

  1. STEP 1
    Other connections Upload from file
  2. STEP 2
    amnezia-router.conf
    Open
  3. STEP 3
    Use for internet access ✓ Save
  4. STEP 4
    On

A scheme of the router screens, not a screenshot. The file name is an example — yours will differ.

WHERE TO GET THE FILE

Your own server or Premium

SELF-HOSTED

Amnezia self-hosted

  • You rent and maintain the server yourself.
  • In AmneziaVPN: share the connection → “Original AmneziaWG format”.
  • Amnezia Free does not work on a router.
PREMIUM

A ready .conf in your account

  • Create the router file at cp.amnezia.org with the VPN turned off.
  • The router counts as one of 7 devices — and covers everyone on its Wi-Fi.
  • Servers and updates are on Amnezia’s side.
Get Premium →
IF SOMETHING GOES WRONG

Common Keenetic errors

The update fails: not enough space

In Change component set turn off components you don’t use, then update again.

The new KeeneticOS version isn’t shown

After switching to the developer channel, refresh the page in your browser.

Two WireGuard connections conflict

Each connection’s internal IP must be unique. Create a new .conf file with a different address.

“Failed to import routes from file”

The file is longer than 1024 lines. Split it into several files and upload each one.

Routing doesn’t work on one device

That device has its own DNS set — in the system, the browser or an app. Turn it off.

The peer doesn’t turn green

Check the log in Management → Diagnostics → Show log. Still stuck? Amnezia support: support@amnezia.org or @amneziahub_bot on Telegram.

CHECK

How to tell it works

  • In Other connections the WireGuard switch is on, the peer is green and the last handshake time is updating.
  • On a device in the VPN policy, ipinfo.io shows the VPN server’s IP and country.
  • With split routing: a local IP-check site shows your ISP’s IP, ipinfo.io — the VPN’s.
FAQ

Common questions

How do I set up Amnezia VPN on Keenetic?

Install the WireGuard VPN component, upload the AmneziaWG .conf file in Internet → Other connections → Upload from file, tick “Use for internet access” and turn the connection on. Then set up DNS and choose which devices use the VPN.

Does Keenetic support AmneziaWG?

Yes. According to Amnezia’s docs, AmneziaWG 3.1 is built into KeeneticOS from 5.2 Alpha 11, and the older guide covers AmneziaWG 1.0 on KeeneticOS 4.2 and later.

Which VPN should I use on a Keenetic router?

You need a service that gives a WireGuard-compatible .conf file. Amnezia Premium gives a ready AmneziaWG file in your account, and the router counts as one of 7 devices.

Where do I get an AmneziaWG config for a router?

With Premium — create it in your account at cp.amnezia.org with the VPN off. With your own server — in the AmneziaVPN app, share the connection in the “Original AmneziaWG format”.

Can only some devices use the VPN?

Yes: create a “VPN” policy with only the WireGuard connection and move the devices you need into it on the Policy application tab. The rest stay on the main connection.

Does this guide work for Netcraze routers?

Yes, Amnezia’s guide is written for Keenetic and Netcraze routers; its example uses a Netcraze Giga.

Why put Amnezia VPN on a router at all?

The router protects every device on your Wi-Fi at once — including a TV or console where you can’t install a VPN app — and takes up only one device slot.

One file — the whole home is protected

With Premium the router file is ready in your account, and the router takes just one of the 7 device slots.

Get Amnezia Premium →

🎟 Coupon AMDI••••• — How to apply

WHAT’S NEXT

Read next

Amnezia Premium
one key for 7 devices
Get it →
Find a proxy/VPN