This commit is contained in:
mm644706215
2025-04-21 13:37:48 +08:00
parent 11dae55236
commit 639fc78b8d

View File

@@ -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