root/trunk/wifidog/wifidog.conf @ 92

Revision 92, 2.3 KB (checked in by aprilp, 9 years ago)

Removed possibility to specify gateway port on command line

  • 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
9Daemon 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
18GatewayID default
19
20# Parm: GatewayPort
21# Default: 2060
22# Optional
23#
24# Listen on this port
25GatewayPort 2060
26
27# Parm: HTTPDName
28# Default: WiFiDog
29# Optional
30#
31# Define what name the HTTPD server will respond
32HTTPDName WiFiDog
33
34# Parm: HTTPDMaxConn
35# Default: 10
36# Optional
37#
38# How many sockets to listen to
39HTTPDMaxConn 10
40
41# Parm: GatewayInterface
42# Default: NONE
43# Mandatory
44#
45# Set this to the internal interface
46GatewayInterface eth1
47
48# Parm: GatewayAddress
49# Default: NONE
50# Mandatory
51#
52# Set this to the internal IP address of the gateway
53GatewayAddress 10.0.0.1
54
55# Parm: AuthservHostname
56# Default: NONE
57# Mandatory
58#
59# Set this to the hostname or IP of your auth server
60AuthservHostname yourauthserv.com
61
62# Parm: AuthservPath
63# Default: /wifidog/auth/
64# Optional
65#
66# Set this to the authentication path on the auth server
67# Usually this is /wifidog/auth/
68AuthservPath /wifidog/auth/
69
70# Parm: AuthservLoginUrl
71# Default: NONE
72# Mandatory
73#
74# Set this to the full URL of the login page on the auth server
75# This is usually https://AUTHSERVHOSTNAME/wifidog/login/
76AuthservLoginUrl http://yourauthserv.com/wifidog/login/
77
78# Parm: CheckInterval
79# Default: 60
80# Optional
81#
82# How many seconds should we wait between timeout checks
83CheckInterval 60
84
85# Parm: ClientTimeout
86# Default: 5
87# Optional
88#
89# Set this to the desired timeout of clients
90# The timeout will be INTERVAL * TIMEOUT
91ClientTimeout 5
92
93# Parm: FWScriptsPath
94# Default: .
95#
96FWScriptsPath .
97
98# Parm: FWType
99# Default: .
100#
101FWType .
102
103# Parm: UserClass
104# Default: UserClass 0, no rights.
105# Mandatory
106#
107# Format:
108#
109# UserClass <class #> timeout <timeout value> active <active flag>
110#
111# class #: 0-255 represents user class numbers
112# timeout value: length in second until connection is closed
113# active flag: Wether the user class can login
114
115# SYSTEM WIDE Connection denied
116UserClass 0 timeout 0 active 0
117# SYSTEM WIDE First Login
118UserClass 1 timeout 600 active 1
119# SYSTEM WIDE Normal User, 6 hours
120UserClass 2 timeout 21600 active 1
121# UserClass above 2 are site specific
Note: See TracBrowser for help on using the browser.