mirror of
https://github.com/lbl8603/vnts.git
synced 2025-09-26 20:21:27 +08:00
update
This commit is contained in:
@@ -43,12 +43,21 @@ web是可选模块,如需编译则使用 cargo build --features web
|
|||||||
|
|
||||||
参数 环境变量名 示例值
|
参数 环境变量名 示例值
|
||||||
-p/--port VNT_PORT 29872
|
-p/--port VNT_PORT 29872
|
||||||
|
|
||||||
-w/--white-token VNT_WHITE_TOKEN mysecrettoken
|
-w/--white-token VNT_WHITE_TOKEN mysecrettoken
|
||||||
|
|
||||||
-g/--gateway VNT_GATEWAY 10.10.0.1
|
-g/--gateway VNT_GATEWAY 10.10.0.1
|
||||||
|
|
||||||
-m/--netmask VNT_NETMASK 255.255.255.0
|
-m/--netmask VNT_NETMASK 255.255.255.0
|
||||||
|
|
||||||
-f/--finger VNT_FINGER true
|
-f/--finger VNT_FINGER true
|
||||||
|
|
||||||
-l/--log-path VNT_LOG_PATH /var/log/vnt.log
|
-l/--log-path VNT_LOG_PATH /var/log/vnt.log
|
||||||
|
|
||||||
-P/--web-port VNT_WEB_PORT 29870
|
-P/--web-port VNT_WEB_PORT 29870
|
||||||
|
|
||||||
-U/--username VNT_USERNAME admin
|
-U/--username VNT_USERNAME admin
|
||||||
|
|
||||||
-W/--password VNT_PASSWORD securepass123
|
-W/--password VNT_PASSWORD securepass123
|
||||||
|
|
||||||
--wg VNT_WG_SECRET_KEY base64_encoded_key
|
--wg VNT_WG_SECRET_KEY base64_encoded_key
|
||||||
|
Reference in New Issue
Block a user