--- title: Routing in 12VPX NEO description: Choose what goes through the VPX service and what connects directly in 12VPX NEO, with routing modes, manual rules, Rocket configs and AI routing. --- Routing decides, for every connection, whether it goes through the VPX service or connects **directly** over your normal internet connection. You choose one routing mode, and you can add your own rules on top of it. AUTOMATIC_TABLE_OF_CONTENTS ## Routing modes Open **Settings → Routing Rules** on a computer or router, or **Settings → Routing** on a phone or tablet. On a phone, choose a location first: the routing settings can't be changed before you have one. | Mode | What it does | Where | | --- | --- | --- | | **Full tunnel** | Everything goes through the VPX service. | All devices | | **Exclude local China** | Chinese websites and addresses connect directly; everything else goes through the VPX service. On iPhone and iPad this mode is called **Split Tunnel**. | All devices | | **AI routing** | Decides for every connection and learns as it goes. Experimental. | Computers and routers | | **Rocket config** | A rule list you import decides. | All devices | Only one mode is active at a time. Changing the mode may briefly reconnect, so an app in the middle of a download or call may notice. ### Which mode should I choose? - **In China:** choose **Exclude local China** (**Split Tunnel** on iPhone and iPad). Chinese websites and apps such as Baidu, Taobao and WeChat stay fast and work as they would without 12VPX, and everything else goes through the VPX service. "Local" means China here, not the country you are in. - **Outside China:** choose **Full tunnel**. - **If you want to experiment:** try **AI routing** on a computer or router, or a **Rocket config** if you already use a rule list you like. ## Manual routing rules A manual rule sends one website, address range or country **Direct** or **Via VPN**, whatever the routing mode says. Use one when a site should behave differently from the rest: your bank's website directly, for example, or one Chinese site through the VPX service. ### Add a rule on a computer or router 1. Open **Settings → Routing Rules → Manual Routing Rules**. 2. Choose the **Scope**: **Every mode** for a rule that always applies, or **AI only** for a correction that only AI routing uses. 3. Choose the **Route**: **Direct** or **Via VPN**. 4. Choose the **Match type** and type the **Match value**, then choose **Add rule**. ### Add a rule on a phone or tablet 1. Open **Settings → Routing → Manual Rules**. 2. Choose the **Route**: **Direct** or **Via VPN**. 3. Choose what to **Match** and type the **Value**, then tap **Add**. On a phone, every manual rule applies in every mode. ### What to type | Match type | Example | Matches | | --- | --- | --- | | **Domain suffix** | `example.com` | example.com and everything under it, such as www.example.com and mail.example.com | | **Exact domain** | `www.example.com` | Only that one name | | **Domain keyword** | `example` | Every name that contains the word | | **IP / CIDR** (**IP or CIDR** on phones) | `203.0.113.7` or `10.0.0.0/8` | One address or a range of addresses | | **Country (GeoIP)** (**GeoIP Country** on phones) | `CN` | Every address in that country, by two-letter country code | Type a name, not a web address: `example.com`, not `https://example.com/page` or `*.example.com`. When you add a **Domain suffix** rule, 12VPX NEO looks at the site's security certificate and adds the other domains the same site uses, so the whole site follows your rule. These show as **certificate** on a computer and under **Related Domains** on a phone. You can remove any of them on its own. ### Which rule wins 1. Your manual rules come first, in every mode. 2. When several rules match, the most specific one wins: an exact domain beats a suffix, and a narrow address range beats a wide one. If two rules are equally specific, **Via VPN** wins. 3. Anything no manual rule matches follows the routing mode. ### Edit many rules at once On a computer or router, the **Text editor** view shows your domain suffix and IP rules as plain lists, one per line, separately for **Via VPN** and **Direct**. It is handy for pasting a long list. Exact domains, keywords and countries stay in the **Rules** view. ### Tailscale and similar tools Tailscale and other tools that make their own connections around 12VPX NEO need their domains sent **Direct** to keep working while you are connected. For Tailscale, add two **Every mode** rules: **Direct**, **Domain suffix** `tailscale.com`, and **Direct**, **Domain suffix** `tailscale.io`. If Tailscale still can't connect, restart it once. ## Rocket configs A Rocket config is a rule list in the plain-text `.conf` format that several mobile apps use. People publish large lists online and update them every day, so you can follow one instead of writing your own rules. ### Use a Rocket config On a computer or router: 1. Open **Settings → Routing Rules**, scroll to **Rocket configs** and paste the list's address. 2. Choose **Add**. 12VPX NEO downloads the list and any lists it refers to. 3. Choose **Use this** on the list you want. That also switches the routing mode to **Rocket config**. On a phone or tablet: 1. Open **Settings → Routing**, paste the list's address into **Configuration URL** and tap **Download**. 2. Downloading does not change your routing mode. Choose the downloaded list under **Rocket Configurations** to start using it; it then shows **In Use**. The list's address is not your account's setup link: they are two different things. ### What to check after adding one After downloading, the app shows how many rules it read, how many go through the VPX service, how many go direct and how many are blocked. Check two things: - **What happens to everything else.** A list's last rule decides what happens to connections no rule names. Some popular lists send those **direct**, which means most of your traffic no longer goes through the VPX service. The app tells you: on a computer it says **Anything this config does not name goes DIRECT — it leaves the VPN.**, and on a phone it shows it under **Fallback**. If a list has no last rule, everything else goes through the VPX service. - **What was skipped.** 12VPX NEO reads rules for domains, keywords, address ranges and countries. It skips rules it can't apply, such as rules for specific apps, rules that rewrite web pages, combined rules and the list's own servers. The app lists what it skipped, under **Not applied here** on a computer and **Ignored Entries** on a phone. Your manual rules still come first. Lists don't update by themselves: use **Refresh** to get the latest version. If a refresh fails, the last copy that worked stays in use. ## AI routing AI routing is an experimental mode for computers and routers, built for use in China. It decides for every connection whether to go directly or through the VPX service, and learns from how each site responds: sites that work well directly stay direct, others go through the VPX service. Chinese services stay direct. AI routing is not a chat assistant. It learns from regular web connections only, so for games, calls and other apps that send their data differently, add a manual rule if one routes the wrong way. When AI routing is on, **Settings → Routing Rules** shows two extra lists: - **Recent activity** shows the sites you visited and how each was routed. If a site doesn't work, choose **Route via VPN** next to it. That adds an **AI only** rule for it. - **Learned routes** shows what AI routing has learned. Forget a decision to let it learn again, or choose **Pin** to keep it as an **AI only** manual rule. **Reset learned routes** makes AI routing forget everything it has learned and start over. Your manual rules stay. ## Routing and Proxy Only On a computer set to **Proxy Only** capture, only apps you point at its proxy use the VPX service, and they always use Full tunnel: Exclude local China, AI routing and Rocket configs are paused until you switch capture back. Your **Every mode** rules still apply. See [Capture Mode and Proxy Only](/en/docs/12vpx-neo/settings#capture-mode-and-proxy-only). On Android you can choose which apps use 12VPX NEO at all. See [Choose which apps use 12VPX NEO](/en/docs/12vpx-neo/android#choose-which-apps-use-12vpx-neo).