# V2ray Proxy

> V2Ray代理管理 - 自动开关代理、根据网络状况自动配置系统代理 / V2Ray Proxy Management - Auto start/stop proxy based on network conditions

- Skill: `dvcrn/v2ray-proxy-2` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add dvcrn/v2ray-proxy-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dvcrn/v2ray-proxy-2/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dvcrn (https://skillmd.com/u/dvcrn)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/dvcrn/v2ray-proxy-2

---


# V2Ray 代理管理 / V2Ray Proxy Management

管理 V2Ray 代理的自动开关，根据网络状况自动配置系统代理。

Manage V2Ray proxy auto start/stop and system proxy configuration based on network conditions.

## 功能 / Features

- 🚀 启动/停止 V2Ray / Start/Stop V2Ray
- 🌐 自动配置/清除系统代理 / Auto configure/clear system proxy
- 🔄 自动模式（根据网络状况自动开关）/ Auto mode (auto switch based on network)
- 📊 状态查看和连接测试 / Status check and connection test

## 配置 / Configuration

- V2Ray位置 / Location: `/media/felix/d/v2rayN-linux-64/`
- 代理端口 / Proxy port: `10808`

## 使用 / Usage

```bash
# 开启代理 / Enable proxy
./scripts/v2ray-proxy.sh on

# 关闭代理 / Disable proxy  
./scripts/v2ray-proxy.sh off

# 自动模式 / Auto mode
./scripts/v2ray-proxy.sh auto

# 查看状态 / Check status
./scripts/v2ray-proxy.sh status
```

