v2hero
v2hero copied to clipboard
请问这种路由器系统怎么设置为客户端?
如上图。这路由器的v2ray不支持gfw list?v2ray要怎么设置?
路由器支持heroku的ss吗?
类似gfwlist的规则参考https://toutyrater.github.io/basic/routing/cndirect.html
连接v2hero服务端:
"outbound": {
"tag": "agentout",
"protocol": "vmess",
"settings": {
"vnext": [
{
"address": "v2hero.herokuapp.com",
"port": 80,
"users": [
{
"id": "91cb66ba-a373-43a0-8169-33d4eeaeb857",
"alterId": 64,
"security": "aes-128-gcm"
}
]
}
]
},
"streamSettings": {
"network": "ws",
"security": "",
"tcpSettings": null,
"kcpSettings": null,
"wsSettings": {
"connectionReuse": true,
"path": "",
"headers": null
}
},
"mux": {
"enabled": true
}
},
连接ss-h nodejs版服务端 https://github.com/onplus/shadowsocks-heroku/issues/122 :
"outbound": {
"protocol": "shadowsocks",
"settings": {
"servers": [
{
"address": "onplus.herokuapp.com",
"port": 80,
"method": "aes-256-cfb",
"password": "H8Wa6^TH98",
"ota": false
}
]
},
"mux": {
"enabled": false
},
"streamSettings": {
"network": "ws",
"security": "",
"tlsSettings": {},
"wsSettings": {
"path": ""
}
}
},
heroku的ss不能直接用于此路由器ShadowSocks中?
websocket传输,不兼容SS/SSR客户端 v2ray的ss+ws模式可以使用
此路由器的v2ray能够实现像其ShadowSocks,无需手机设置代理,即可自动代理吗?
透明代理应该就是这意思吧
谢谢你,虽然我完全没有搞定
用下面的配置文件,不开启透明代理,浏览器设置socks5代理,路由器ip,端口1080,似乎实现了只国外走代理。依然不懂透明代理。 { "inbound": { "port": 1080, "protocol": "socks", "settings": { "auth": "noauth", "udp": true } }, "outbound": { "tag": "agentout", "protocol": "vmess", "settings": { "vnext": [ { "address": "v2hero.herokuapp.com", "port": 80, "users": [ { "id": "91cb66ba-a373-43a0-8169-33d4eeaeb857", "alterId": 64, "security": "aes-128-gcm" } ] } ] }, "streamSettings": { "network": "ws", "security": "", "tcpSettings": null, "kcpSettings": null, "wsSettings": { "connectionReuse": true, "path": "", "headers": null } }, "mux": { "enabled": true } }, "outboundDetour": [ { "protocol": "freedom", "settings": {}, "tag": "direct" //如果要使用路由,这个 tag 是一定要有的,在这里 direct 就是 freedom 的一个标号,在路由中说 direct V2Ray 就知道是这里的 freedom 了 } ], "routing": { "strategy": "rules", "settings": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "chinasites", "outboundTag": "direct" }, { "type": "chinaip", "outboundTag": "direct" } ] } } }
上面的配置造成浏览器无法登录路由器,似乎少了局域网直连规则,求。(心想也许是无法实现?)
v2rayN自动生成的路由规则
"routing": {
"strategy": "rules",
"settings": {
"domainStrategy": "IPIfNonMatch",
"rules": [
{
"type": "field",
"port": null,
"outboundTag": "direct",
"ip": [
"0.0.0.0/8",
"10.0.0.0/8",
"100.64.0.0/10",
"127.0.0.0/8",
"169.254.0.0/16",
"172.16.0.0/12",
"192.0.0.0/24",
"192.0.2.0/24",
"192.168.0.0/16",
"198.18.0.0/15",
"198.51.100.0/24",
"203.0.113.0/24",
"::1/128",
"fc00::/7",
"fe80::/10"
],
"domain": null
},
{
"type": "field",
"port": null,
"outboundTag": "direct",
"ip": null,
"domain": [
"geosite:cn"
]
},
{
"type": "field",
"port": null,
"outboundTag": "direct",
"ip": [
"geoip:cn"
],
"domain": null
}
]
}
}
谢谢你,小白就是想直接问来才可靠。没想到我刚才上网抄了一段,好像也差不多。
好像v2ray更新后,就不能使用了,难道配置文件格式更改?
@jdfq 應該不是配置文件格式問題,是服務端和客戶端要一致貌似,你路由器上面不能升級的話服務端就別升先,反過來應該一樣。不過可能因為是路由器才有這問題(你那路由器是刷的固件吧?),我pc上3.21客戶端,服務端換了幾個版本試沒問題
話說你是啥路由器?功能挺多啊