20 lines
742 B
Plaintext
20 lines
742 B
Plaintext
# /etc/nikki/bmstu.env on the router, chmod 600 (mihomo-kit.sh setup writes it)
|
|
VPN_USERNAME="username"
|
|
VPN_PASSWORD="your-password"
|
|
# base32 secret from the TOTP QR (otpauth://totp/...?secret=XXXX)
|
|
TOTP_SECRET="XXXXXXXXXXXXXXXX"
|
|
# scrv1 (default, as OpenVPN Connect: SCRV1:b64(pass):b64(otp)) | otp-last | otp-first
|
|
#PASS_FORMAT=scrv1
|
|
# connect-mac (default: present as OpenVPN Connect 3.7.1 for macOS) | mihomo
|
|
#OVPN_MIMIC=connect-mac
|
|
|
|
# nikki API: read from uci (nikki.mixin.api_listen / api_secret) unless set here
|
|
#API="http://192.168.1.1:9090"
|
|
#API_SECRET=""
|
|
|
|
# something reachable only (or at least) through the VPN
|
|
#CHECK_URL="https://www.bmstu.ru"
|
|
|
|
#OVPN_FILE=/etc/nikki/bmstu.ovpn
|
|
#PROVIDER_FILE=/etc/nikki/run/providers/bmstu.yaml
|