Xray-core
Xray-core is a backend supported by marznode. Xray is enabled by default on marznode.
Currently supported protocols include:
- VMess
- VLESS
- Trojan
- Shadowsocks
Configuration settings on marznode
The following environmental variables are used to utilize and configure Xray on marznode:
XRAY_ENABLEDTrue/FalseXRAY_EXECUTABLE_PATHPath to the xray binary.XRAY_CONFIG_PATHPath to xray config.XRAY_RESTART_ON_FAILUREWhether to restart in case of crash/exit.True/FalseXRAY_RESTART_ON_FAILURE_INTERVALInterval between restarts in case of crash.
Current Limitations
- Xray fallbacks are not parsed from configurations
- VLESS flow is only configurable for reality + tcp.
- Xray logging should be configured to write into stdout. starting xray would block marznode otherwise.