AoBai Linux command-line client manual
This is the AoBai command-line client for Linux. You can open the terminal screen, or just type commands. The terminal screen is in Chinese and English. What you see on screen is this demo, not your own machine.
Contents
- What this product can do
- The terminal screen
- Connect and modes
- Speed test
- Route by country
- DNS providers
- Blocking
- Custom rules
- Route by program
- LAN and leak protection
- The proxy port
- Commands
- Languages
- What it does not include
- Play the tutorial
1. What this product can do
This is the AoBai command-line client for Linux. You can open the terminal screen, or just type commands. The terminal screen is in Chinese and English. What you see on screen is this demo, not your own machine.

2. The terminal screen
Run aobaicli ui, and you land on this screen. aobaicli-ui next to it is only a launcher for the same screen. The dashboard lists login, connect, speed test, routing, and settings.

Number keys jump, Enter opens an item, and question mark is help. Leaving the screen does not disconnect a VPN that is already up.

3. Connect and modes
The connect page picks a node, and switches between proxy and TUN. Proxy mode opens one local port, and apps point their traffic at it. TUN mode takes this machine's traffic, and needs system permission. If you do not refresh, it does not fetch the node list.

4. Speed test
The speed-test page does not start measuring on its own. When you want the latency, press start. The numbers follow the network.

5. Route by country
Route by country sends one country direct, and the rest through the VPN.

There are only three: mainland China, Russia, and Iran. Choose off, and everything goes through the VPN. If the rule file is not on this machine, it works after the download.

6. DNS providers
The DNS provider is at the bottom of routing and protection. Cloudflare has two addresses. The others are Google, Quad9, AdGuard, and Mullvad. Once connected, lookups use the encrypted DNS you picked.

7. Blocking
Blocking covers ads, trackers, harmful sites, and adult sites. Harmful sites means phishing, scams, and malware. Each row says whether its rule file is on this machine. Until that file is here, that item does not block yet.

8. Custom rules
Custom rules can exclude, or send only the list through the VPN. A list can hold a domain, a domain plus subdomains, and an address range. A country works too. Still just China, Russia, and Iran.

9. Route by program
Routing by program only works in TUN mode. You can enter a process name, or a full path that starts with a slash. Exclude keeps those programs off the VPN.

10. LAN and leak protection
Bypass LAN and leak protection both work only in TUN mode. Bypass LAN lets your home and office networks go direct. Leak protection tries to keep traffic from slipping around the VPN. This is not a kill switch. The command line does not have one.

11. The proxy port
The network-card and IP binding decides where the proxy port listens. By default it listens only here. Bind a card, and devices on the LAN can use it. If the port is taken, it looks upward, up to the limit you set.

12. Commands
What you change on the screen and by command is the same config. config show reads the current values. config set changes one.

Lists use config add and config remove, one entry at a time. While connected, changing routing, blocking, or DNS reconnects on its own.

13. Languages
The screen language is in settings, and it is only Chinese and English.

Command help is bilingual.
Both languages are in the same text.

14. What it does not include
That is what the Linux command-line client can do now. Children mode and policy sync are not on the command line. For the full graphical app, use the desktop client.

Languages