v2ray/discussion

如何让ps5主机使用直连?

Ultraman-Tiga2323 opened this issue · 2 comments

萌新求解……家里用老毛子固件的路由器V2ray已实现透明代理。但发现ps5主机所有的流量都走了代理,导致下载速度很慢。想让主机流量走回直连,如果能实现其中youtube、Netflix等应用走代理是最好的,但困难的话只要全部直连就行,求大神!

以下是我的v2ray配置
{
"log": {
"access": "none",
"error": "/tmp/syslog.log",
"loglevel": "error"
},
"inbounds": [
{
"port": 1088,
"listen": "0.0.0.0",
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true,
"ip": "127.0.0.1"
},
"tag": "local_1088",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
},
{
"port": "1099",
"listen": "0.0.0.0",
"protocol": "dokodemo-door",
"settings": {
"network": "tcp,udp",
"timeout": 30,
"followRedirect": true
},
"tag": "redir_1099",
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
],
"outbounds": [
{
"protocol": "freedom",
"settings": {},
"tag": "direct",
"streamSettings": {
"sockopt": {
"mark": 255
}
}
},
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "twb.cloudv2.xyz",
"port": 443,
"users": [
{
"id": "C5C5A9A1-6CBE-051A-26C8-8EA119E66B3D",
"security": "auto",
"alterId": 0
}
]
}
]
},
"tag": "outbound_1",
"streamSettings": {
"network": "ws",
"security": "tls",
"tlsSettings": {
"allowInsecure": false
},
"xtlsSettings": {
"allowInsecure": true
},
"tcpSettings": {
"header": {
"type": "none",
"request": {
"path": [
"/"
],
"headers": {
"Host": []
}
}
}
},
"kcpSettings": {
"header": {
"type": "none"
}
},
"wsSettings": {
"path": "/ray",
"headers": {}
},
"httpSettings": {
"host": [
"v2ray.com"
],
"path": "/"
},
"dsSettings": {},
"quicSettings": {
"security": "none",
"key": "",
"header": {
"type": "none"
}
},
"grpcSettings": {
"serviceName": ""
},
"sockopt": {
"mark": 255
}
}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked",
"streamSettings": {
"sockopt": {
"mark": 255
}
}
},
{
"protocol": "dns",
"tag": "dns_out"
}
],
"dns": {
"queryStrategy": "UseIPv4",
"servers": [
{
"address": "8.8.8.8",
"port": 53,
"domains": [
"domain:cn2qq.com",
"geosite:google",
"geosite:geolocation-!cn",
"geosite:facebook",
"geosite:twitter",
"geosite:telegram",
"domain:youtube.com",
"domain:appspot.com",
"domain:telegram.com",
"domain:facebook.com",
"domain:twitter.com",
"domain:blogger.com",
"domain:gmail.com",
"domain:gvt1.com"
]
},
{
"address": "223.5.5.5",
"port": 53,
"domains": [
"geosite:cn"
],
"expectIPs": [
"geoip:cn"
]
},
"8.8.8.8",
"8.8.4.4",
"localhost"
]
},
"routing": {
"domainStrategy": "AsIs",
"domainMatcher": "mph",
"balancers": [],
"rules": [
{
"type": "field",
"outboundTag": "blocked",
"domains": [
"geosite:category-ads-all"
]
},
{
"type": "field",
"ip": [
"127.0.0.0/8",
"::1/128"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"8.8.8.8",
"8.8.4.4",
"208.67.222.222",
"208.67.220.220",
"1.1.1.1",
"1.0.0.1"
],
"outboundTag": "outbound_1"
},
{
"type": "field",
"ip": [
"192.168.0.0/16",
"172.16.0.0/12",
"169.254.0.0/16",
"255.255.255.255/32",
"geoip:private",
"100.100.100.100/32",
"188.188.188.188/32",
"110.110.110.110/32"
],
"outboundTag": "direct"
},
{
"type": "field",
"domains": [
"gfwall.com",
"cn2qq.com",
"geosite:google",
"geosite:facebook",
"geosite:geolocation-!cn"
],
"outboundTag": "outbound_1"
},
{
"type": "field",
"ip": [
"149.154.160.1/32",
"149.154.160.2/31",
"149.154.160.4/30",
"149.154.160.8/29",
"149.154.160.16/28",
"149.154.160.32/27",
"149.154.160.64/26",
"149.154.160.128/25",
"149.154.161.0/24",
"149.154.162.0/23",
"149.154.164.0/22",
"149.154.168.0/21",
"91.108.4.0/22",
"91.108.56.0/24",
"109.239.140.0/24",
"67.198.55.0/24",
"91.108.56.172",
"149.154.175.50",
"149.154.160.0/20"
],
"outboundTag": "outbound_1"
}
]
}
}

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days