Commit graph

4 commits

Author SHA1 Message Date
Tianling Shen
56b6ca5d09
xray-core: init: add option to control FullConeNAT setting
Latest version of xray-core made a change to support FullCone NAT,
which would break UDP connection from v2ray-core backend server.
So added the option for v2ray-core users, to make sure UDP works
as expected.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-13 01:43:41 +08:00
Tianling Shen
ae044501b3
xray-core: fix service start / reload
Fix starting problem:
Starting function should be named 'start_service' instead of 'start_instance'.

Fix reloading problem:
Register reload tigger for uci config itself.
And, xray does not support reload currently, so use legacy restart as reload.

Fixes: 6c9b96352f ("xray-core: add init script")

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 11:50:40 +08:00
Tianling Shen
6c9b96352f
xray-core: add init script
Add init script so the users could run it with their configs quickly.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:58 +08:00
Tianling Shen
c8c2564012
xray-core: add example configs
Thry're from v2fly/v2ray-core wikis, used as examples.

Signed-off-by: Tianling Shen <cnsztl@project-openwrt.eu.org>
2021-02-04 06:29:48 +08:00