nat设置了强制走ipv4 hk这么写吗?谢谢哥- {
- "api": {
- "services": [
- "HandlerService",
- "LoggerService",
- "StatsService"
- ],
- "tag": "api"
- },
- "inbounds": [
- {
- "listen": "127.0.0.1",
- "port": 62789,
- "protocol": "dokodemo-door",
- "settings": {
- "address": "127.0.0.1"
- },
- "tag": "api"
- }
- ],
- "outbounds": [
- {
- "protocol": "freedom",
- "settings": {}
- },
- {
- "protocol": "blackhole",
- "settings": {},
- "tag": "blocked"
- },
- {
- "tag": "VPS1",
- "protocol": "vmess",
- "settings": {
- "vnext": [{
- "address": "nat ipv4",
- "port": 443,
- "users": [{
- "id": "我的id",
- "security": "auto",
- "alterId": 0
- }]
- }]
- }
- }
-
- ],
- "policy": {
- "system": {
- "statsInboundDownlink": true,
- "statsInboundUplink": true
- }
- },
- "routing": {
- "rules": [
- {
- "tag":"IP4_out",
- "protocol": "freedom",
- "settings": {"domainStrategy": "UseIPv4"}
- },
- {
- "inboundTag": [
- "api"
- ],
- "outboundTag": "api",
- "type": "field"
- },
- {
- "ip": [
- "geoip:private"
- ],
- "outboundTag": "blocked",
- "type": "field"
- },
- {
- "outboundTag": "blocked",
- "protocol": [
- "bittorrent"
- ],
- "type": "field"
- },
- {
- "type": "field",
- "outboundTag": "VPS1",
- "domain": ["geosite:netflix"]
- }
- ]
- },
- "stats": {}
- }
复制代码 |