The installation configuration of the Authpuppy can be referred to http://www.authpuppy.org/doc/Getting_Started, except for some details, which can be configured completely according to its success.
Both MySQL (database) and Apache (HTTP server) need to be installed.
Attached WiFiDog configuration wifidog.conf:
Gatewayid default
externalinterface Pppoe-wan
gatewayinterface br-lan
authserver {
Hostname 192.168.1.111
httpport
path/authpuppy/web/
}
httpdmaxconn
ClientTimeout
Firewallruleset Global {
firewallrule allow to 123.150.205.139 #S
firewallrule allow to 125.39.111.239 #S
firewallrule allow to 42.121.98.148 #S
Firewallrule allow to 74.117.62.156 #S
firewallrule allow to 74.117.62.157 #S
firewallrule allow to 8.8.8.8 #S
}
firewallruleset validating-users {
firewallrule allow to 0.0.0.0/0
}
Firewallruleset known-users {
firewallrule allow to 0.0.0.0/0
}
firewallruleset unknown-users {
firewallrule Allow UDP port-
firewallrule allow TCP port-
firewallrule allow UDP port-
firewallrule allow TCP port
firewallrule block UDP port 8000
}