2024年5月29日发(作者:)
Wifidog配置参数详解
Wifidog的配置文件/etc/,关键的配置项是:
AuthServer {
Hostname (Mandatory; Default: NONE)
SSLAvailable (Optional; Default: no; Possible values: yes, no)
SSLPort (Optional; Default: 443)
HTTPPort (Optional; Default: 80)
Path (Optional; Default: /wifidog/ Note: The path must be both prefixed and
suffixed by /. Use a single / for server root.)
LoginScriptPathFragment (Optional; Default: login/? Note: This is the script
the user will be sent to for login.)
PortalScriptPathFragment (Optional; Default: portal/? Note: This is the script
the user will be sent to after a successfull login.)
MsgScriptPathFragment (Optional; Default: gw_? Note: This is
the script the user will be sent to upon error to read a readable message.)
PingScriptPathFragment (Optional; Default: ping/? Note: This is the script the
user will be sent to upon error to read a readable message.)
AuthScriptPathFragment (Optional; Default: auth/? Note: This is the script the
user will be sent to upon error to read a readable message.)
}
# Listen on this port
GatewayPort 2060
# Parameter: CheckInterval
# Default: 60
# Optional
#
# How many seconds should we wait between timeout checks. This is also
# how often the gateway will ping the auth server and how often it will
# update the traffic counters on the auth server. Setting this too low


发布评论