30 lines
1.0 KiB
Bash
30 lines
1.0 KiB
Bash
# 定义 VPN 配置文件的密码,以及登录 VPN 的用户名和密
|
|
VPN_IPSEC_PSK=123456
|
|
VPN_USER=roc
|
|
VPN_PASSWORD=123456
|
|
|
|
# Define additional VPN users
|
|
# - DO NOT put "" or '' around values, or add space around =
|
|
# - DO NOT use these special characters within values: \ " '
|
|
# - Usernames and passwords must be separated by spaces
|
|
# VPN_ADDL_USERS=additional_username_1 additional_username_2
|
|
# VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2
|
|
|
|
# 改成家里公网 IP 对应的域名
|
|
VPN_DNS_NAME=home.yourdomain.com
|
|
|
|
# Specify a name for the first IKEv2 client
|
|
# - Use one word only, no special characters except '-' and '_'
|
|
# - The default is 'vpnclient' if not specified
|
|
VPN_CLIENT_NAME=roc
|
|
|
|
# 可以改成家里宽带使用的 DNS 地址
|
|
VPN_DNS_SRV1=61.139.2.69
|
|
VPN_DNS_SRV2=218.6.200.139
|
|
|
|
# Protect IKEv2 client config files using a password
|
|
# - By default, no password is required when importing IKEv2 client configuration
|
|
# - Uncomment if you want to protect these files using a random password
|
|
VPN_PROTECT_CONFIG=yes
|
|
|