v2rayN
v2rayN copied to clipboard
[Feature request]: Import Multiple Custom Xray-core Json Configs from Subscription
相关问题
I want to be able to import multiple xray-core configs from my subscription URL to my v2rayN client
描述你希望的解决方案
https://github.com/2dust/v2rayNG/pull/2827
描述你所考虑的替代方案
No response
我确认已查询历史issues
- [X] 是
+1
2dust is not a fan of this idea this can get done only if someone make a good PR
It is very easy! I will do that ;)
@alireza0 Design of Multi Custom Config of v2rayNG is very bad, It's configs are huge af
You can make v2rayN to accept a single custom config, But consider each Socks5 Inbound as a Config (Tag = Config Name) We can use those Tags to Route every Inbound to a different Outbound as we like, or add other rules to Routing of xray
We can set all ports to 0, and v2rayN can change the selected Inbound/Config to socks port from v2rayN settings Or we can ask Xray-core devs to add option to set option for inbounds to listen to no port (by '-1' as port for example)
edit: As using a non-existed tag in Routing makes no problem, so client app can even remove unused Inbounds
No need to HTTP Inbound, But v2rayN can add an HTTP Inbound and Chain it to the selected Socks5 Inbound Using dialerProxy https://xtls.github.io/en/config/transport.html#sockoptobject
It is now added to support json array of v2ray configs.
Also I have added some other standards like remarks
in v2ray json and network
in routing rules.
Supporting all information you mentioned is related to what is supported in their V2rayConfig Model. We can ask for upgrade by adding these parameters as well.
https://github.com/2dust/v2rayN/commit/262466303bb147ec03cdb5c1f15ddb3592716b18