Annotation of embedaddon/coova-chilli/conf/defaults.in, revision 1.1.1.1
1.1 misho 1: # -*- /bin/sh -*-
2: #
3: # Coova-Chilli Default Configurations.
4: # To customize, copy this file to @ETCCHILLI@/config
5: # and edit to your liking. This is included in shell scripts
6: # that configure chilli and related programs before file 'config'.
7:
8:
9: ###
10: # Local Network Configurations
11: #
12:
13: # HS_WANIF=eth0 # WAN Interface toward the Internet
14: HS_LANIF=eth1 # Subscriber Interface for client devices
15: HS_NETWORK=10.1.0.0 # HotSpot Network (must include HS_UAMLISTEN)
16: HS_NETMASK=255.255.255.0 # HotSpot Network Netmask
17: HS_UAMLISTEN=10.1.0.1 # HotSpot IP Address (on subscriber network)
18: HS_UAMPORT=3990 # HotSpot Port (on subscriber network)
19:
20: # HS_DYNIP=
21: # HS_DYNIP_MASK=255.255.255.0
22: # HS_STATIP=
23: # HS_STATIP_MASK=255.255.255.0
24: # HS_DNS_DOMAIN=
25: # HS_DNS1=
26: # HS_DNS2=
27:
28: ###
29: # HotSpot settings for simple Captive Portal
30: #
31: HS_NASID=nas01
32: HS_UAMSECRET=
33: HS_RADIUS=rad01.coova.org
34: HS_RADIUS2=rad01.coova.org
35: HS_RADSECRET=coova-anonymous
36: HS_UAMALLOW=coova.org
37:
38: # Put entire domains in the walled-garden with DNS inspection
39: # HS_UAMDOMAINS=".paypal.com,.paypalobjects.com"
40:
41: # Optional initial redirect and RADIUS settings
42: # HS_SSID=<ssid> # To send to the captive portal
43: # HS_NASMAC=<mac address> # To explicitly set Called-Station-Id
44: # HS_NASIP=<ip address> # To explicitly set NAS-IP-Address
45:
46: # The server to be used in combination with HS_UAMFORMAT to
47: # create the final chilli 'uamserver' url configuration.
48: HS_UAMSERVER=coova.org
49:
50: # Use HS_UAMFORMAT to define the actual captive portal url.
51: # Shell variable replacement takes place when evaluated, so here
52: # HS_UAMSERVER is escaped and later replaced by the pre-defined
53: # HS_UAMSERVER to form the actual "--uamserver" option in chilli.
54: HS_UAMFORMAT=https://\$HS_UAMSERVER/app/uam/chilli
55:
56: # Same principal goes for HS_UAMHOMEPAGE.
57: HS_UAMHOMEPAGE=http://\$HS_UAMLISTEN:\$HS_UAMPORT/www/coova.html
58:
59: # This option will be configured to be the WISPr LoginURL as well
60: # as provide "uamService" to the ChilliController. The UAM Service is
61: # described in: http://coova.org/wiki/index.php/CoovaChilli/UAMService
62: #
63: HS_UAMSERVICE=https://coova.org/app/uam/auth
64:
65:
66: ###
67: # Features not activated per-default (default to off)
68: #
69: # HS_RADCONF=off # Get some configurations from RADIUS or a URL ('on' and 'url' respectively)
70: #
71: # HS_ANYIP=on # Allow any IP address on subscriber LAN
72: #
73: # HS_MACAUTH=on # To turn on MAC Authentication
74: #
75: # HS_MACAUTHDENY=on # Put client in 'drop' state on MAC Auth Access-Reject
76: #
77: # HS_MACAUTHMODE=local # To allow MAC Authentication based on macallowed, not RADIUS
78: #
79: # HS_MACALLOWED="..." # List of MAC addresses to authenticate (comma seperated)
80: #
81: # HS_USELOCALUSERS=on # To use the @ETCCHILLI@/localusers file
82: #
83: # HS_OPENIDAUTH=on # To inform the RADIUS server to allow OpenID Auth
84: #
85: # HS_WPAGUESTS=on # To inform the RADIUS server to allow WPA Guests
86: #
87: # HS_DNSPARANOIA=on # To drop DNS packets containing something other
88: # # than A, CNAME, SOA, or MX records
89: #
90: # HS_OPENIDAUTH=on # To inform the RADIUS server to allow OpenID Auth
91: # # Will also configure the embedded login forms for OpenID
92: #
93: # HS_USE_MAP=on # Short hand for allowing the required google
94: # # sites to use Google maps (adds many google sites!)
95: #
96: ###
97: # Other feature settings and their defaults
98: #
99: # HS_DEFSESSIONTIMEOUT=0 # Default session-timeout if not defined by RADIUS (0 for unlimited)
100: #
101: # HS_DEFIDLETIMEOUT=0 # Default idle-timeout if not defined by RADIUS (0 for unlimited)
102: #
103: # HS_DEFBANDWIDTHMAXDOWN=0 # Default WISPr-Bandwidth-Max-Down if not defined by RADIUS (0 for unlimited)
104: #
105: # HS_DEFBANDWIDTHMAXUP=0 # Default WISPr-Bandwidth-Max-Up if not defined by RADIUS (0 for unlimited)
106:
107: ###
108: # Centralized configuration options examples
109: #
110: # HS_RADCONF=url # requires curl
111: # HS_RADCONF_URL=https://coova.org/app/ap/config
112:
113: # HS_RADCONF=on # gather the ChilliSpot-Config attributes in
114: # # Administrative-User login
115: # HS_RADCONF_SERVER=rad01.coova.org # RADIUS Server
116: # HS_RADCONF_SECRET=coova-anonymous # RADIUS Shared Secret
117: # HS_RADCONF_AUTHPORT=1812 # Auth port
118: # HS_RADCONF_USER=chillispot # Username
119: # HS_RADCONF_PWD=chillispot # Password
120:
121:
122: ###
123: # Standard configurations
124: #
125: HS_MODE=hotspot
126: HS_TYPE=chillispot
127: # HS_RADAUTH=1812
128: # HS_RADACCT=1813
129: # HS_ADMUSR=chillispot
130: # HS_ADMPWD=chillispot
131:
132:
133: ###
134: # Post-Auth proxy settings
135: #
136: # HS_POSTAUTH_PROXY=<host or ip>
137: # HS_POSTAUTH_PROXYPORT=<port>
138:
139: # Directory specifying where internal web pages can be served
140: # by chilli with url /www/<file name>. Only extentions like .html
141: # .jpg, .gif, .png, .js are allowed. See below for using .chi as a
142: # CGI extension.
143: HS_WWWDIR=@ETCCHILLI@/www
144:
145: # Using this option assumes 'haserl' is installed per-default
146: # but, and CGI type program can ran from wwwsh to process requests
147: # to chilli with url /www/filename.chi
148: HS_WWWBIN=@ETCCHILLI@/wwwsh
149:
150: # Some configurations used in certain user interfaces
151: #
152: HS_PROVIDER=Coova
153: HS_PROVIDER_LINK=http://www.coova.org/
154:
155:
156: ###
157: # WISPr RADIUS Attribute support
158: #
159:
160: HS_LOC_NAME="My HotSpot" # WISPr Location Name and used in portal
161:
162: # WISPr settings (to form a proper WISPr-Location-Id)
163: # HS_LOC_NETWORK="My Network" # Network name
164: # HS_LOC_AC=408 # Phone area code
165: # HS_LOC_CC=1 # Phone country code
166: # HS_LOC_ISOCC=US # ISO Country code
167:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>