Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下,我在服务端做了分流,但是用ssrp无效是啥原因 #1684

Open
whatpig opened this issue Feb 13, 2025 · 8 comments
Open

Comments

@whatpig
Copy link

whatpig commented Feb 13, 2025

服务端做了奶飞分流到b服务器,但是用ssrp还是用的本服务器访问的奶飞

服务端是xray vless

@zxlhhyccc
Copy link
Collaborator

zxlhhyccc commented Feb 13, 2025

你是没启用socks全局服务器时候不能分流吧,与 #1671 一样的问题,争取今天晚上修复。

@whatpig
Copy link
Author

whatpig commented Feb 13, 2025

你是没启用socks全局服务器时候不能分流吧,与 #1671 一样的问题,争取今天晚上修复。

我觉得不是一个问题,#1671是在ssrp里开启了netflix分流服务器但是没正确分流

我遇到的情况是 ssrp没开启ssrp分流 但是xray服务端本身做了netflix分流 照道理只要是netflix应该走到xray服务端分流去的服务器 但是还是走的主服务器

@whatpig
Copy link
Author

whatpig commented Feb 13, 2025

你是没启用socks全局服务器时候不能分流吧,与 #1671 一样的问题,争取今天晚上修复。

我觉得不是一个问题,#1671是在ssrp里开启了netflix分流服务器但是没正确分流

我遇到的情况是 ssrp没开启ssrp分流 但是xray服务端本身做了netflix分流 照道理只要是netflix应该走到xray服务端分流去的服务器 但是还是走的主服务器

补充一下 用其他客户端没问题 比如** 比如** 不敢说啊

@zxlhhyccc
Copy link
Collaborator

补充一下 用其他客户端没问题 比如** 比如** 不敢说啊

还是不明白你的意思。有什么不敢说的,请告知比如哪个,才好确定你说的意思。

@zxlhhyccc
Copy link
Collaborator

zxlhhyccc commented Feb 14, 2025

补充一下 用其他客户端没问题 比如** 比如** 不敢说啊

还是不明白你的意思。有什么不敢说的,请告知比如哪个,才好确定你说的意思。

你的意思是不是说,你服务器做了奈飞分流,在客户端连接后,科学是一个线路,奈飞是一个线路对吧?如果是,目前此功能暂未添加,Xray确实已有此功能,passwall貌似也添加了,ssrp待有空时候考虑添加该功能吧,只是我手里没有此类节点测试,所以想动也没办法测试效果,如果你能提供节点,我考虑添加你说的功能。

@whatpig
Copy link
Author

whatpig commented Feb 14, 2025

补充一下 用其他客户端没问题 比如** 比如** 不敢说啊

还是不明白你的意思。有什么不敢说的,请告知比如哪个,才好确定你说的意思。

你的意思是不是说,你服务器做了奈飞分流,在客户端连接后,科学是一个线路,奈飞是一个线路对吧?如果是,目前此功能暂未添加,Xray确实已有此功能,passwall貌似也添加了,ssrp待有空时候考虑添加该功能吧,只是我手里没有此类节点测试,所以想动也没办法测试效果,如果你能提供节点,我考虑添加你说的功能。

passwall也不行 passwall2可以 我直接把我xray服务端配置贴给你看吧

{
"inbounds": [
{
"port": 12345,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "xxxxxxxxxxxx",
"flow": "xtls-rprx-vision"
}
],
"decryption": "none"
},
"streamSettings": {
"network": "tcp",
"security": "reality",
"realitySettings": {
"show": false,
"dest": "xxx.xxx.xxx:443",
"xver": 0,
"serverNames": [
"xxx.xxx.xxx"
],
"privateKey": "xxxxxxxx",
"minClientVer": "",
"maxClientVer": "",
"maxTimeDiff": 0,
"shortIds": [
""
]
}
}
}
],
"routing": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"ip": [
"geoip:cn",
"geoip:private"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:cn"
],
"outboundTag": "direct"
},
{
"type": "field",
"domain": [
"geosite:netflix"
],
"outboundTag": "Nfproxy"
},
{
"type": "field",
"protocol":[
"bittorrent"
],
"outboundTag": "direct"
}
]
},
"outbounds": [
{
"tag": "direct",
"protocol": "freedom"
},
{
"tag": "Nfproxy",
"protocol": "trojan",
"settings": {
"servers": [
{
"address": "xx.xx.xx",
"port": 443,
"password": "xxxxxxxxxx"
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls"
}
}
]
}

顺便再把截图给你看

Image Image

怎么说呢 可能是我的表达不清楚

我知道ssrp客户端能分流Netflix并且能前置 但是有些时候用到手机的客户端之类的就很麻烦 所以我就直接在服务端直接做了分流 这样只要用a服务器 所有走Netflix的流量都会从a走到b服务器再去Netflix 现在的情况是passwall2和手机端的小火箭都正常 passwall和ssrp不行 以上ssrp截图 访问Netflix还是a服务器的ip

麻烦你啦!

@zxlhhyccc
Copy link
Collaborator

@whatpig 我不需要服务端,我需要的是客户端配置。

@zxlhhyccc
Copy link
Collaborator

@whatpig 请启用下面的配置,添加配置文件试试:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants