1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00
openwrt-packages/net/v2raya/files/v2raya.config
Tianling Shen 272cff0d1c
v2raya: do not allow changing config/log directory
We need stable path to persist configurations and read log from LuCI.

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
2024-01-25 00:49:39 +08:00

45 lines
1.3 KiB
Plaintext

config v2raya 'config'
option enabled '0'
# Listening address
option address '0.0.0.0:2017'
# Make sure your IPv6 network works fine before you turn it on.
# Optional values: auto, on, off.
option ipv6_support 'auto'
# Experimental feature. Make sure you have installed nftables.
# Optional values: auto, on, off.
option nftables_support 'auto'
# Optional values: trace, debug, info, warn or error
option log_level 'info'
# Maximum number of days to keep log files
option log_max_days '3'
option log_disable_color '1'
option log_disable_timestamp '0'
# Executable v2ray binary path. Auto-detect if put it empty
option v2ray_bin ''
# Additional v2ray config directory, files in it will be combined with config generated by v2rayA
option v2ray_confdir ''
# The executable file to run in the transparent proxy life-cycle.
# v2rayA will pass in the --transparent-type (tproxy, redirect)
# and --stage (pre-start, post-start, pre-stop, post-stop) arguments.
option transparent_hook ''
# The executable file to run in the v2ray-core life-cycle.
# v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument.
option core_hook ''
# The executable file to run in the v2ray-core life-cycle.
# v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument.
option plugin_manager ''