Recipes
Step-by-step setups for common tasks: proxy only blocked sites, share the proxy, hotspot, calls and games, VMs, a corporate VPN and per-app routing.
This page gives short, step-by-step setups for common tasks. Each recipe links to the pages that explain the features in detail.
Proxy only blocked sites
Send only blocked sites through the proxy and everything else directly. Local sites stay fast, and your server carries less traffic.
With a ready-made profile (China, Russia):
- Open the
Routingmenu →Download Profilesand chooseChinaorRussia. - Keep
Auto updateticked and clickOK. - Open the
Routingmenu again and chooseProxy China Blocked, or for RussiaProxy Russia Blocked,Proxy AntizapretorProxy Refilter.
With your own list (any country):
- Open
Settings→Routing Settings→Routeand clickNew→Structured profile. - Enter a
Name, for exampleBlocked sites, and setDefault outboundtodirect. - On the
Basictab, write the sites in theProxybox, one per line (see the example below). - Click
OK. On theCommontab, chooseBlocked sitesasRouting Profileand clickOK.
ruleset:geosite-youtube
ruleset:geosite-telegram
ruleset:geoip-telegram
suffix:example.com
If a blocked site still does not load, it uses more domains than you listed. Open the site, find its connections in the Connections tab, right-click one and choose Append "<host>" to → Proxy. For large services, a geosite- rule-set is easier than single domains. Some apps, such as Telegram, also connect to IP addresses, so add their geoip- rule-set and use Tun Mode. See Routing.
Share the proxy with other devices
Other devices on your network, such as a phone, a TV or a game console, can use Throne on your computer as their proxy.
- Open the
Programmenu and turn onAllow other devices to connect. It is also in the tray menu. - Look at the middle of the status bar. It now shows
Mixed: <address>:2080: the address and port that other devices use. - Recommended: open
Settings→Basic Settings→Common, tickEnable Authorizationand setInbound UsernameandInbound Password. - On the other device, set an HTTP or SOCKS5 proxy with that address and port, and the username and password if you set them.
Things to know:
- Throne must keep running on the computer. The other device's traffic follows your active routing profile.
- Authorization applies to everyone who uses the port, including apps on your computer that use the system proxy.
- If a device cannot connect, check that the computer's firewall allows incoming connections to
ThroneCore. - Android: turn on
Settings→Inbound→Allow connections from the LAN. See LAN sharing on Android.
For more about the proxy port, see LAN sharing.
Windows Mobile Hotspot with TUN mode
When Windows shares your normal network adapter through Mobile Hotspot or Internet Connection Sharing while Tun Mode is on, Throne shows "IPv4 forwarding breaks Tun mode". Windows then ignores the setting that keeps Throne's own connections out of the tunnel, so they loop back into it and fail.
Throne's warning suggests a workaround, which users also reported in #1916: share the connection of Throne's TUN adapter instead.
- Turn on
Tun Modein Throne and start a profile. - In Windows, open
Settings→Mobile hotspot→Share my internet connection fromand choosethrone-tun. - Turn on the hotspot.
The throne-tun adapter exists only while Tun Mode is on. Connection sharing is a Windows feature that Throne does not control. If the workaround does not work for you, turn the hotspot off while you use Tun Mode, or let the devices use the proxy port instead (see Share the proxy with other devices).
Voice calls and games
Voice calls in Discord and Telegram, and many games, use UDP and often ignore the system proxy.
- Use
Tun Mode, so that this traffic reaches Throne at all. - Your server and its protocol must carry UDP. Not every protocol can (an HTTP proxy cannot), and some servers turn UDP off. If calls fail on one server, try another one.
- For a low delay, choose a nearby server. See URL test.
- If a game does not need the proxy, send it direct: put its program in the
Directbox, for exampleprocessName:game.exe. - For games and peer-to-peer apps that go direct in TUN mode, try
Settings→Tun Settings→L3 Bridge Bypass. It sends direct UDP and ICMP traffic straight out of your network adapter, which is faster and keeps NAT working.
Docker, WSL and virtual machines
Containers, WSL and virtual machines have their own virtual networks. There are two ways to give them the proxy.
Point them at Throne's proxy port. This is the simplest and most reliable way.
- Turn on
Program→Allow other devices to connect. - Inside the container or virtual machine, set the proxy to
http://<address>:2080. Use an address of your computer that the guest can reach, for example the one in the status bar.
Many command-line tools on Linux read these variables:
export http_proxy=http://192.168.1.10:2080
export https_proxy=http://192.168.1.10:2080
The same port also accepts SOCKS5.
Use TUN mode on the computer. Whether a guest's traffic enters the tunnel depends on how its virtual network is built. If guests lose their connection, or you cannot reach them from the computer, check these settings in Settings → Tun Settings:
- Keep
Private Range Bypasson (the default). It keeps private address ranges, which virtual networks usually use, out of the tunnel. Enable Tun Routingalso keeps the IP ranges of yourdirectrules out of the tunnel. Large rule-sets can cause high CPU use on Windows, so turn it on with care.- Linux:
Auto Redirect(on by default) is needed on newer kernels for thesystemandmixedstacks. While it is on, this computer cannot act as a network gateway for other devices, and containers or virtual machines whose traffic it forwards can be affected. Use the proxy port for them instead.
See TUN Mode.
Corporate VPN side by side
To reach company resources through your corporate VPN while everything else uses Throne, keep the company's traffic away from the proxy. Choose one of these ways.
Send company traffic direct. Add the company's domains and networks to the Direct box of your routing profile:
suffix:corp.example.com
ip:10.20.0.0/16
With Enable DNS Routing on (the default), the company's domains are looked up with Direct DNS instead of Remote DNS. In TUN mode, private ranges such as 10.0.0.0/8 already stay out of the tunnel (Private Range Bypass). For company networks in public ranges, turn on Tun Settings → Enable Tun Routing, which keeps the IP ranges of direct rules out of the tunnel.
Bind to the VPN's network adapter. Use this when direct traffic leaves through the wrong adapter.
- Open
Program→New profile, choose the typeDirectand give it a name, for exampleCorporate. - Click
Advanced Settings, enter the name of the corporate VPN adapter inBind Interfaceand clickOK. Save the profile withOK. - In your routing profile, add an advanced rule with the company's
domain_suffixandip_cidr, the actionroute, andoutboundset to[group] Corporate. Move it above your other rules.
Run the VPN inside Throne. Throne can run an OpenVPN or OpenConnect profile next to your proxy, only for the networks that it announces. See split tunnel.
Other VPN programs can interfere with Tun Mode. If problems appear only in TUN mode, use system proxy mode while the corporate VPN is connected.
Per-app routing
Choose which programs use the proxy.
Desktop:
- Turn on
Tun Mode. Only in TUN mode does the traffic of every program reach Throne. - Start the program and let it connect.
- In the
Connectionstab, right-click one of its connections and chooseAppend process "<name>" to→Proxy,DirectorBlock. - Click
Restartin the "Settings changed, restart to apply" notice.
You can also write the rules yourself on the Basic tab of your routing profile, for example processName:Telegram.exe or processPath:C:\Program Files\App\app.exe. Names must match exactly, including upper and lower case.
- Only some programs through the proxy: set
Default outboundtodirectand put the programs in theProxybox. - All programs except some: keep
Default outboundatproxyand put the exceptions in theDirectbox.
If the Append items are disabled, the active routing profile cannot be changed from there, for example because it is a remote profile that updates itself. See Connections tab.
Android: choose the apps in Settings → TUN / VPN → Apps VPN mode, or use the Apps field of a routing rule. See per-app proxy.