Gaotou AI VPS
CCAGYCodexOpenCodeCursor Zero DNS/WebRTC Leak Agent Auto-Setup

Run CC, AGY, Codex, OpenCode Smoothly Without Region Locks or Shared-IP Bans

Rent a clean Dual-ISP overseas server, send one prompt to your local AI assistant, and get a hardened Reality + TLS setup with trusted Let's Encrypt IP certificates in ~10 minutes. You never even need to SSH into the server manually.

Why Shared Proxies Break AI Coding Tools

1. Abused Datacenter IPs

Shared proxy nodes and ultra-cheap VPS ranges are flagged as hosting proxies, causing endless CAPTCHAs or instant account suspension.

2. Missing Subdomains & DNS Leaks

Tools like AGY and CC call dozens of auth and cloudcode endpoints. One leaked DNS lookup exposes your local ISP region.

3. Terminal & WebRTC Bypass

System HTTP proxy alone misses terminal CLI processes and browser WebRTC UDP packets. Our setup pairs cleanly with TUN virtual NIC mode.

1Rent a Clean Overseas Server

Gaotou's Daily Driver · Dual-ISP Residential IP

YIN-NET

Dual-ISP residential native IP · Ultra-low risk & high AI trust score for CC / AGY / Codex

Used daily by Gaotou. Choose a US region and Ubuntu 24.04 (or Debian 12+); no manual SSH needed — your local AI configures everything. Live plans, stock and pricing are as shown on the official website.

After ordering, verify the OS is Ubuntu 24.04 LTS (or Debian 12+) in your provider dashboard, and note down three items: Server IPv4, root password, and SSH port. Disclosure: purchasing via referral links above supports this open-source guide at no extra cost.

2Send One Prompt to Your Local AI

Open any local AI tool capable of running terminal commands on your computer (Codex, CC, AGY, OpenCode, Cursor). Fill in your server IP and send:

Prompt for AI Agent
Please set up my new server using the Gaotou AI VPS (gaotou-ai-vps) plan.

Repository: https://github.com/adrianzeng/gaotou-ai-vps
Clone this repository locally, read AGENTS.md and skills/SKILL.md in full,
and run its scripts step by step to deploy and verify my server.
Never print passwords, keys, or subscription URLs in chat.

My server:
- IP: 
- Login method: initial password (prompt me via system dialog — do not ask me to paste it in chat)
- SSH user & port: default
- SSH alias I want to use: ai

A native password dialog will pop up on your screen — enter your root password once (never paste it into chat). In ~10 minutes, all 30+ checks will pass and a credentials file will appear on your Desktop.

3Import Subscription & Enable TUN Mode

Windows / macOS / Linux

Import the Clash subscription URL, choose Rule mode, and turn ON TUN Mode so terminal tools (CC, Codex, OpenCode) and WebRTC UDP traffic go through your clean VPS.

Read the TUN & WebRTC Guide →

iPhone / Android / Router

iPhone: import the Shadowrocket URL in Shadowrocket. Android: import the Clash URL in FlClash. OpenWrt Router: add the Clash URL in OpenClash (Meta core, disable online converter).

41-Minute Cleanliness & Trust Check

Open https://ip.net.coffee/claude/ in your browser and verify:

Common Questions

Certificate step failed during deployment?

In 90% of cases, the cloud provider's Security Group / Firewall blocks inbound TCP port 80. Allow TCP 80, 443, 2443, 2096, 53998 in your provider dashboard and ask your AI to re-run the cert step.

Peak-hour speed feels slower on international routes?

Dual-ISP residential routes prioritize IP cleanliness. If your local ISP throttles TCP at night, ask your AI to enable the built-in Hysteria2 QUIC module (remote.sh ai hy2, allow UDP 8443) or pair with a relay server using the built-in forward command.