prefixkit Ask an engineerAsk Support RU

Service IP ranges

TikTok IP ranges

Every TikTok subnet: 114 IPv4 and 64 IPv6 from 2 autonomous systems. Ready MikroTik address-lists, WireGuard AllowedIPs and routes for Keenetic, OpenWrt, Linux and Windows.

Messengers and social
Video, media and games
Work and calls
Clouds and hosting
Russian services

Loading…

Subnets come from the service's own autonomous systems in the DB-IP IP-to-ASN database (October 2026), merged into the shortest list. Traffic a service serves through other CDNs (Akamai, Cloudflare, ISP caches) is not included.

TikTok autonomous systems

A service may serve part of its traffic (images, video, updates) through third-party CDNs and caches inside ISPs; those addresses are not included. If something still loads the wrong way after routing, add Cloudflare or check a specific domain in DNS lookup.

How to route one service through a VPN and the rest directly

WireGuard

Choose “WireGuard AllowedIPs” and paste the line into the client’s [Peer] section instead of 0.0.0.0/0. Only these subnets go through the tunnel. To build “everything except the LAN” lists, use the AllowedIPs calculator.

MikroTik

The address-list format adds the subnets to a list. Then a mangle rule with a routing mark and a separate routing table through the tunnel:

/routing table add name=via-vpn fib
/ip route add dst-address=0.0.0.0/0 gateway=wg0 routing-table=via-vpn
/ip firewall mangle add chain=prerouting dst-address-list=telegram action=mark-routing new-routing-mark=via-vpn passthrough=no

The simpler way without mangle is the “MikroTik routes” format: one route per subnet. A full config with WireGuard: MikroTik generator.

Keenetic

In the web UI: Routing → Add route, one at a time. Faster from the CLI (Telnet/SSH or the web CLI): put your connection’s name (for example Wireguard0) in the interface field, paste the Keenetic commands and run system configuration save.

Linux, OpenWrt

ip route commands last until reboot. On OpenWrt an ipset or nftables set plus a marking rule is easier to keep; both formats are available.

Related lists

YouTube & Google · X (Twitter) · Netflix · Steam (Valve)

Idea?