|
Revision 186, 1.9 KB
(checked in by alexcv, 9 years ago)
|
|
Changed config for AuthServer?
|
-
Property svn:eol-style set to
native
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | # $Header$ |
|---|
| 2 | # WiFiDog Configuration file |
|---|
| 3 | |
|---|
| 4 | # Parm: Daemon |
|---|
| 5 | # Default: 1 |
|---|
| 6 | # Optional |
|---|
| 7 | # |
|---|
| 8 | # Set this to true if you want to run as a daemon |
|---|
| 9 | Daemon 1 |
|---|
| 10 | |
|---|
| 11 | # Parm: GatewayID |
|---|
| 12 | # Default: NONE |
|---|
| 13 | # Optional |
|---|
| 14 | # |
|---|
| 15 | # Set this to the template ID on the auth server |
|---|
| 16 | # this is used to give a customized login page to the clients |
|---|
| 17 | # If none is suppled, the default login page will be used |
|---|
| 18 | GatewayID default |
|---|
| 19 | |
|---|
| 20 | # Parm: GatewayPort |
|---|
| 21 | # Default: 2060 |
|---|
| 22 | # Optional |
|---|
| 23 | # |
|---|
| 24 | # Listen on this port |
|---|
| 25 | GatewayPort 2060 |
|---|
| 26 | |
|---|
| 27 | # Parm: HTTPDName |
|---|
| 28 | # Default: WiFiDog |
|---|
| 29 | # Optional |
|---|
| 30 | # |
|---|
| 31 | # Define what name the HTTPD server will respond |
|---|
| 32 | HTTPDName WiFiDog |
|---|
| 33 | |
|---|
| 34 | # Parm: HTTPDMaxConn |
|---|
| 35 | # Default: 10 |
|---|
| 36 | # Optional |
|---|
| 37 | # |
|---|
| 38 | # How many sockets to listen to |
|---|
| 39 | HTTPDMaxConn 10 |
|---|
| 40 | |
|---|
| 41 | # Parm: ExternalInterface |
|---|
| 42 | # Default: NONE |
|---|
| 43 | # Mandatory |
|---|
| 44 | # |
|---|
| 45 | # Set this to the external interface |
|---|
| 46 | ExternalInterface eth0 |
|---|
| 47 | |
|---|
| 48 | # Parm: GatewayInterface |
|---|
| 49 | # Default: NONE |
|---|
| 50 | # Mandatory |
|---|
| 51 | # |
|---|
| 52 | # Set this to the internal interface |
|---|
| 53 | GatewayInterface eth1 |
|---|
| 54 | |
|---|
| 55 | # Parm: GatewayAddress |
|---|
| 56 | # Default: NONE |
|---|
| 57 | # Mandatory |
|---|
| 58 | # |
|---|
| 59 | # Set this to the internal IP address of the gateway |
|---|
| 60 | GatewayAddress 10.0.0.1 |
|---|
| 61 | |
|---|
| 62 | # Parm: AuthServer |
|---|
| 63 | # Default: NONE |
|---|
| 64 | # Mandatory |
|---|
| 65 | # |
|---|
| 66 | # Set this to the hostname or IP of your auth server, the path where |
|---|
| 67 | # WiFiDog-auth resides and optionally as a second argument, the port it |
|---|
| 68 | # listens on. |
|---|
| 69 | AuthServer { |
|---|
| 70 | Hostname yourauthserv.com |
|---|
| 71 | SSLAvailable yes |
|---|
| 72 | SSLPort 443 |
|---|
| 73 | HTTPPort 80 |
|---|
| 74 | Path /wifidog |
|---|
| 75 | } |
|---|
| 76 | |
|---|
| 77 | # Parm: AuthServMaxTries |
|---|
| 78 | # Default: 1 |
|---|
| 79 | # Optional |
|---|
| 80 | # |
|---|
| 81 | # Sets the number of attemps to be made to connect to the central server, |
|---|
| 82 | # this number should be equal to the number of AuthServer lines in this |
|---|
| 83 | # configuration but it should probably not exceed 3. |
|---|
| 84 | #AuthServMaxTries 1 |
|---|
| 85 | |
|---|
| 86 | # Parm: CheckInterval |
|---|
| 87 | # Default: 60 |
|---|
| 88 | # Optional |
|---|
| 89 | # |
|---|
| 90 | # How many seconds should we wait between timeout checks |
|---|
| 91 | CheckInterval 60 |
|---|
| 92 | |
|---|
| 93 | # Parm: ClientTimeout |
|---|
| 94 | # Default: 5 |
|---|
| 95 | # Optional |
|---|
| 96 | # |
|---|
| 97 | # Set this to the desired timeout of clients |
|---|
| 98 | # The timeout will be INTERVAL * TIMEOUT |
|---|
| 99 | ClientTimeout 5 |
|---|
| 100 | |
|---|