| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- {
- "log": {
- "loglevel": "warning"
- },
- "routing": {
- "domainStrategy": "IPIfNonMatch",
- "rules": [
- {
- "type": "field",
- "port": "0-65535",
- "outboundTag": "proxy"
- }
- ]
- },
- "inbounds": [
- {
- "listen": "::1",
- "port": "2080",
- "protocol": "socks",
- "settings": {
- "auth": "noauth",
- "udp": true,
- "ip": "::1"
- }
- },
- {
- "listen": "::1",
- "port": "2081",
- "protocol": "http"
- }
- ],
- "outbounds": [
- {
- "tag": "proxy",
- "protocol": "vless",
- "settings": {
- "vnext": [
- {
- "address": "reverse.example", // 换成你的域名或服务器 IP
- "port": 443,
- "users": [
- {
- "id": "", // 填写你的 UUID
- "encryption": "none",
- "level": 0
- }
- ]
- }
- ]
- },
- "streamSettings": {
- "network": "ws",
- "security": "tls",
- "tlsSettings": {
- "serverName": "reverse.example" // 换成你的域名
- },
- "wsSettings": {
- "path": "/externalws" //对应 portal 中 externalws 的 path
- }
- }
- },
- {
- "protocol": "freedom",
- "tag": "direct"
- }
- ]
- }
|