Chrome Extension · Manifest V3 · 5 Languages

Smart Route Generation

Discover every domain on a webpage. Resolve to IPs.
Generate routes and rules for 21 formats instantly: routers, operating systems, VPN and proxy clients.

example_com_route.sh
#!/bin/bash
# NetRoute v4.1.4 — generated 2026-10-18

ip route add 104.21.32.0/24 via 10.0.0.1
ip route add 172.67.182.0/24 via 10.0.0.1
ip route add 151.101.1.0/24 via 10.0.0.1
ip -6 route add 2606:4700::/32 via fe80::1 dev wg0

# Verify: ip route show | grep "10.0.0.1"

Built for Network Engineers

Everything you need to generate production-ready routing commands from any webpage.

Network Sniffer

Captures dynamic background requests — AJAX, CDN, API calls — in real-time via Service Worker.

DNS Racing

In the “Auto (Racing - Fastest)” mode the query goes to every DNS-over-HTTPS provider at once — Cloudflare, Google, Quad9, AdGuard and your own — via Promise.any: the first successful answer is taken, the other requests are cancelled. Pick one provider and only that one is asked. Answers are cached.

CIDR Aggregation

Merges individual IPs into optimized subnets. IPv4 bitmask + IPv6 BigInt aggregation.

Route Optimization (RIPE BGP)

The BGP prefix of each IP, every prefix its AS announces, or AS prefixes collapsed to fit a route limit. Data from RIPE Stat.

ASN Lookup

Batch IP-to-ASN resolution. See which organization owns each IP: AS13335 (Cloudflare).

File Export

Download as .bat, .sh, .rsc, .conf, .ovpn and more, with headers and verification commands. Files are named after the site: example_com_route.bat.

Bulk Scan

Paste a list of URLs. Generate aggregated routes for all hostnames at once.

Domain Blacklist

Exclude analytics, trackers, and unwanted domains. Syncs across devices via Chrome Cloud Sync.

Works When DoH Is Blocked

If every DNS-over-HTTPS resolver is blocked, falls back to the IPs your browser already connected to and resolves the rest through the system resolver.

Keenetic Export

The Keenetic .bat import format, with every route commented with its domains and ASN.

Rules for proxy clients

The same domains and networks as rules: sing-box (Hiddify), Clash/mihomo, Xray and 3X-UI, v2rayN, Happ, Shadowrocket/Surge, Quantumult X, PAC — and a site list for AmneziaVPN.

Lists for routers

MikroTik address-list and Keenetic DNS routes (KeeneticOS 5) instead of hundreds of routes; persistent OpenWrt routes via uci.

Scan History

The last 10 scans stay in the extension: reopen, copy, or download the routes as cryptocompare_com_route.bat.

Custom Templates

Your own route syntax with {{network}}, {{cidr}}, {{gateway}} and other macros.

Three Steps to Routes

01

Install & Navigate

Add the extension from Chrome Web Store. Navigate to any website and refresh to start the network sniffer.

# chrome://extensions
NetRoute enabled
ID: abc123def456
02

Configure & Scan

Choose your target OS, merge mask, gateway, and optional domain filter. Click Analyze Website.

# Scan config
OS:      MikroTik
Gateway: 10.0.0.1
Mask:    /24
Filter:  .*cdn.*
03

Copy or Export

Grab the generated routes from the Routes tab. Copy to clipboard or export as a script file.

# Output: 12 routes generated
/ip route add dst=104.21.32.0/24 \
  gateway=10.0.0.1
/ip route add dst=172.67.0.0/16 \
  gateway=10.0.0.1

21 Output Formats

Route commands for operating systems and routers, rules for VPN and proxy clients — each in its native syntax.

Platform IPv4 Command IPv6 Command
Windows route add {net} mask {mask} {gw} netsh interface ipv6 add route
Linux ip route add {net}/{cidr} via {gw} ip -6 route add
macOS route add -net {net}/{cidr} {gw} route add -inet6
MikroTik /ip route add dst-address= /ipv6 route add
Cisco ip route {net} {mask} {gw} ipv6 route
Juniper set routing-options static route set rib inet6.0 static route
Keenetic route ADD {net} MASK {mask} {gw} IPv4 only
WireGuard AllowedIPs = {net}/{cidr} AllowedIPs = {addr}
OpenVPN route {net} {mask} route-ipv6
OpenWrt uci add network route uci add network route6
MikroTik address-list /ip firewall address-list add /ipv6 firewall address-list add
Keenetic DNS routes object-group fqdn … include include {cidr}
AmneziaVPN {"hostname", "ips", "ip"} IPv4 only
sing-box domain_suffix, ip_cidr ip_cidr
Clash / mihomo DOMAIN-SUFFIX, IP-CIDR IP-CIDR6
Xray / 3X-UI domain:, ip ip
v2rayN domain[], ip[] ip[]
Happ ProxySites, ProxyIp ProxyIp
Shadowrocket / Surge DOMAIN-SUFFIX, IP-CIDR IP-CIDR6
Quantumult X host-suffix, ip-cidr ip6-cidr
PAC dnsDomainIs, isInNet IPv4 only
21 Output Formats
5 Languages
IPv4 +IPv6 Support
12 File Types
4 DNS Providers

Frequently Asked Questions

What platforms does NetRoute support?
NetRoute outputs 21 formats. Route commands for operating systems and routers: Windows, Linux, macOS, OpenWrt, MikroTik, Cisco, Juniper, Keenetic; rules for VPN and proxy clients: WireGuard (AllowedIPs), OpenVPN, AmneziaVPN, sing-box, Clash/mihomo, Xray, v2rayN, Happ, Shadowrocket/Surge, Quantumult X and PAC; lists for routers: MikroTik address-list and Keenetic DNS routes (KeeneticOS 5). Plus your own template. IPv4 and IPv6 are supported; the Keenetic .bat, AmneziaVPN and PAC formats are IPv4 only.
Is NetRoute free?
Yes, NetRoute is completely free. No registration or subscription required.
How does NetRoute generate routes from a website?
NetRoute discovers all domains on a webpage (including AJAX, CDN, and API requests via Service Worker) and resolves them to IP addresses over DNS-over-HTTPS: in Auto mode the query goes to Cloudflare, Google, Quad9, AdGuard and your own DoH servers in parallel and the first successful answer wins; with a chosen provider only that one is asked; answers are cached, and when DoH is blocked the IPs come from the browser’s own connections. It then aggregates the IPs into optimized CIDR subnets and generates platform-specific routing commands.
Does NetRoute work with proxy clients such as Hiddify, Happ or v2rayN?
Yes. Pick the client’s format under “Target OS” and NetRoute outputs rules with the site’s domains and networks instead of route commands: a rule-set for sing-box (Hiddify, NekoBox), a rule-provider for Clash/mihomo, routing.rules for Xray and the 3X-UI panel, a rule import file for v2rayN, a Happ routing profile, a rule list for Shadowrocket/Surge and Quantumult X, a PAC file and a site list for AmneziaVPN. Domains are folded to suffixes; the networks are the same as in the routes.
Can I use NetRoute for VPN split tunneling?
Yes, NetRoute is ideal for VPN split tunneling. It generates WireGuard AllowedIPs, OpenVPN route directives, and OS-level routing commands that let you route only specific website traffic through your VPN.
Does NetRoute collect any personal data?
No. NetRoute has no accounts, analytics, or servers of its own: settings, cache, and scan history stay in your browser. To do its job it sends the scanned hostnames to DNS-over-HTTPS resolvers, looks up the ASN of resolved server IPs at ip-api.com, queries RIPE Stat when route optimization is on, and connects to the scanned sites directly when DoH is blocked or the ping check is enabled. Details are in the privacy policy.