2025-12-18 00:50:45 +08:00
# Network Environment Configuration
2025-12-19 17:36:38 +08:00
> Vibe Coding Prerequisite: Ensure normal access to services like GitHub, Google, and Claude.
2025-12-18 00:50:45 +08:00
---
## Method One: AI-Guided Configuration (Recommended)
Copy the following prompt and paste it into any AI chat box (ChatGPT, Claude, Gemini web version, etc.):
```
You are a patient network environment configuration assistant. I need to configure a network proxy to access foreign services such as GitHub, Google, and Claude.
My situation:
- Operating system: [Please tell me if you are using Windows/macOS/Linux/Android]
- I already have a proxy service subscription link (airport subscription)
2025-12-19 17:36:38 +08:00
Please guide me through configuring the network proxy using the FlClash client:
2025-12-18 00:50:45 +08:00
1. How to download and install FlClash (GitHub: https://github.com/chen08209/FlClash/releases)
2. How to import my subscription link
3. How to enable TUN mode (virtual network card) to achieve global proxy
4. How to enable system proxy
5. How to verify if the configuration is successful
Requirements:
2025-12-19 17:36:38 +08:00
- Each step should be explained in detail, with illustrations describing button locations.
- If I encounter problems, help me analyze the cause and provide solutions.
- After completing each step, ask me if it was successful before proceeding to the next.
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
Let's start now by asking me what operating system I am using.
2025-12-18 00:50:45 +08:00
```
---
## Method Two: Manual Configuration
### You will need
2025-12-19 17:36:38 +08:00
1. **Network Service Subscription** - A provider of proxy nodes
2. **FlClash** - A cross-platform network configuration client
2025-12-18 00:50:45 +08:00
### Step One: Purchase Network Service
Visit the service provider: https://xn--9kqz23b19z.com/#/register ?code=35BcnKzl
- Register an account
2025-12-19 17:36:38 +08:00
- Select a plan (starting from about 6 RMB/month)
- After payment, find the **subscription link** in the user panel and copy it for later use.
2025-12-18 00:50:45 +08:00
### Step Two: Download FlClash
GitHub Download: https://github.com/chen08209/FlClash/releases
2025-12-19 17:36:38 +08:00
Choose according to your system:
2025-12-18 00:50:45 +08:00
- Windows: `FlClash-x.x.x-windows-setup.exe`
- macOS: `FlClash-x.x.x-macos.dmg`
- Linux: `FlClash-x.x.x-linux-amd64.AppImage`
- Android: `FlClash-x.x.x-android.apk`
### Step Three: Import Subscription
1. Open FlClash
2. Click **Configuration** → **Add**
3. Select **URL Import**
2025-12-19 17:36:38 +08:00
4. Paste the subscription link copied in step one
2025-12-18 00:50:45 +08:00
5. Click confirm and wait for nodes to load
### Step Four: Enable Proxy
Set the following three items in order:
2025-12-19 17:36:38 +08:00
| Setting | Operation |
|:------------------|:----------------------------------|
| **Virtual NIC (TUN)** | Enable - Achieve global traffic proxy |
| **System Proxy** | Enable - Allow system applications to use the proxy |
| **Proxy Mode** | Select **Global Mode** |
2025-12-18 00:50:45 +08:00
After setting up, the FlClash main interface should show "Connected".
### Verification
```bash
# Test Google connectivity
curl -I https://www.google.com
# Test GitHub connectivity
curl -I https://github.com
```
2025-12-19 17:36:38 +08:00
Returning `HTTP/2 200` indicates successful configuration.
2025-12-18 00:50:45 +08:00
---
2025-12-19 17:36:38 +08:00
## Common Issues
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
**Q: Nodes cannot connect?**
A: Try switching to another node, or check if the subscription has expired.
2025-12-18 00:50:45 +08:00
**Q: Some applications don't use the proxy?**
2025-12-19 17:36:38 +08:00
A: Ensure TUN mode (virtual NIC) is enabled.
2025-12-18 00:50:45 +08:00
**Q: Want the terminal to also use the proxy?**
2025-12-19 17:36:38 +08:00
A: The terminal automatically uses the proxy when TUN mode is enabled; or manually set:
2025-12-18 00:50:45 +08:00
```bash
export https_proxy = http://127.0.0.1:7890
export http_proxy = http://127.0.0.1:7890
```
---
2025-12-19 17:36:38 +08:00
## Next Steps
2025-12-18 00:50:45 +08:00
2025-12-19 17:36:38 +08:00
After network configuration is complete, continue reading [02-开发环境搭建 ](./02-开发环境搭建.md ).