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.
#!/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
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
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.*
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 |
Popular Setup Guides
Step-by-step walkthroughs for every supported platform — with command syntax, official docs links, and ready-to-edit example configs.
Keenetic — .bat upload
Generate a .bat file in NetRoute and upload to Keenetic with VPN interface binding.
MikroTik — .rsc import
RouterOS script with /ip route commands. One /import applies all routes.
WireGuard — AllowedIPs
Split tunneling via AllowedIPs in the peer config. No extra route commands.
Linux — ip route
ip route add shell script. Persist via systemd-networkd or NetworkManager.
OpenVPN — route directives
Append route lines to your client .ovpn. Use with route-nopull.
sing-box — rule-set
The site’s domains and networks as a rule-set for sing-box and Hiddify: route.rule_set, compiling to .srs.
Happ — routing profile
A JSON profile with the ProxySites and ProxyIp lists; into the app as a happ://routing/onadd link.
Xray — routing.rules
Rules for an Xray-core config, the 3X-UI panel and import into v2rayN.
AmneziaVPN — site list
Hosts with addresses and subnets for split tunneling, import via the ⋮ menu.