1
0

chilli.conf 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. # Sample ChilliSpot configuration file
  2. #fg
  3. #debug
  4. # TAG: interval
  5. # Re-read configuration file at this interval. Will also cause new domain
  6. # name lookups to be performed. Value is given in seconds.
  7. #interval 3600
  8. # TAG: pidfile
  9. # File to store information about the process id of the program.
  10. # The program must have write access to this file/directory.
  11. #pidfile /var/run/chilli.pid
  12. # TAG: statedir
  13. # Directory to use for nonvolatile storage.
  14. # The program must have write access to this directory.
  15. # This tag is currently ignored
  16. #statedir ./
  17. # TUN parameters
  18. # TAG: net
  19. # IP network address of external packet data network
  20. # Used to allocate dynamic IP addresses and set up routing.
  21. # Normally you do not need to uncomment this tag.
  22. #net 192.168.182.0/24
  23. # TAG: dynip
  24. # Dynamic IP address pool
  25. # Used to allocate dynamic IP addresses to clients.
  26. # If not set it defaults to the net tag.
  27. # Do not uncomment this tag unless you are an experienced user!
  28. #dynip 192.168.182.0/24
  29. # TAG: statip
  30. # Static IP address pool
  31. # Used to allocate static IP addresses to clients.
  32. # Do not uncomment this tag unless you are an experienced user!
  33. #statip 192.168.182.0/24
  34. # TAG: dns1
  35. # Primary DNS server.
  36. # Will be suggested to the client.
  37. # If omitted the system default will be used.
  38. # Normally you do not need to uncomment this tag.
  39. #dns1 172.16.0.5
  40. # TAG: dns2
  41. # Secondary DNS server.
  42. # Will be suggested to the client.
  43. # If omitted the system default will be used.
  44. # Normally you do not need to uncomment this tag.
  45. #dns2 172.16.0.6
  46. # TAG: domain
  47. # Domain name
  48. # Will be suggested to the client.
  49. # Normally you do not need to uncomment this tag.
  50. #domain key.chillispot.org
  51. # TAG: ipup
  52. # Script executed after network interface has been brought up.
  53. # Executed with the following parameters: <devicename> <ip address>
  54. # <mask>
  55. # Normally you do not need to uncomment this tag.
  56. #ipup /etc/chilli.ipup
  57. # TAG: ipdown
  58. # Script executed after network interface has been taken down.
  59. # Executed with the following parameters: <devicename> <ip address>
  60. # <mask>
  61. # Normally you do not need to uncomment this tag.
  62. #ipdown /etc/chilli.ipdown
  63. # TAG: conup
  64. # Script executed after a user has been authenticated.
  65. # Executed with the following parameters: <devicename> <ip address>
  66. # <mask> <user ip address> <user mac address> <filter ID>
  67. # Normally you do not need to uncomment this tag.
  68. #conup /etc/chilli.conup
  69. # TAG: conup
  70. # Script executed after a user has disconnected.
  71. # Executed with the following parameters: <devicename> <ip address>
  72. # <mask> <user ip address> <user mac address> <filter ID>
  73. # Normally you do not need to uncomment this tag.
  74. #conup /etc/chilli.condown
  75. # Radius parameters
  76. # TAG: radiuslisten
  77. # IP address to listen to
  78. # Normally you do not need to uncomment this tag.
  79. radiuslisten 127.0.0.1
  80. # TAG: radiusserver1
  81. # IP address of radius server 1
  82. # For most installations you need to modify this tag.
  83. radiusserver1 localhost
  84. # TAG: radiusserver2
  85. # IP address of radius server 2
  86. # If you have only one radius server you should set radiusserver2 to the
  87. # same value as radiusserver1.
  88. # For most installations you need to modify this tag.
  89. radiusserver2 localhost
  90. # TAG: radiusauthport
  91. # Radius authentication port
  92. # The UDP port number to use for radius authentication requests.
  93. # The same port number is used for both radiusserver1 and radiusserver2.
  94. # Normally you do not need to uncomment this tag.
  95. #radiusauthport 1812
  96. # TAG: radiusacctport
  97. # Radius accounting port
  98. # The UDP port number to use for radius accounting requests.
  99. # The same port number is used for both radiusserver1 and radiusserver2.
  100. # Normally you do not need to uncomment this tag.
  101. #radiusacctport 1813
  102. # TAG: radiussecret
  103. # Radius shared secret for both servers
  104. # For all installations you should modify this tag.
  105. radiussecret testing123
  106. # TAG: radiusnasid
  107. # Radius NAS-Identifier
  108. # Normally you do not need to uncomment this tag.
  109. #radiusnasid nas01
  110. # TAG: radiusnasip
  111. # Radius NAS-IP-Address
  112. # Normally you do not need to uncomment this tag.
  113. #radiusnasip 127.0.0.1
  114. # TAG: radiuscalled
  115. # Radius Called-Station-ID
  116. # Normally you do not need to uncomment this tag.
  117. #radiuscalled 00133300
  118. # TAG: radiuslocationid
  119. # WISPr Location ID. Should be in the format: isocc=<ISO_Country_Code>,
  120. # cc=<E.164_Country_Code>,ac=<E.164_Area_Code>,network=<ssid/ZONE>
  121. # Normally you do not need to uncomment this tag.
  122. #radiuslocationid isocc=us,cc=1,ac=408,network=ACMEWISP_NewarkAirport
  123. # TAG: radiuslocationname
  124. # WISPr Location Name. Should be in the format:
  125. # <HOTSPOT_OPERATOR_NAME>,<LOCATION>
  126. # Normally you do not need to uncomment this tag.
  127. #radiuslocationname ACMEWISP,Gate_14_Terminal_C_of_Newark_Airport
  128. # Radius proxy parameters
  129. # TAG: proxylisten
  130. # IP address to listen to
  131. # Normally you do not need to uncomment this tag.
  132. #proxylisten 10.0.0.1
  133. # TAG: proxyport
  134. # UDP port to listen to.
  135. # If not specified a port will be selected by the system
  136. # Normally you do not need to uncomment this tag.
  137. #proxyport 1645
  138. # TAG: proxyclient
  139. # Client(s) from which we accept radius requests
  140. # Normally you do not need to uncomment this tag.
  141. #proxyclient 10.0.0.1/24
  142. # TAG: proxysecret
  143. # Radius proxy shared secret for all clients
  144. # If not specified defaults to radiussecret
  145. # Normally you do not need to uncomment this tag.
  146. #proxysecret testing123
  147. # Remote configuration management
  148. # TAG: confusername
  149. # If confusername is specified together with confpassword chillispot
  150. # will at regular intervals specified by the interval option query the
  151. # radius server for configuration information.
  152. # Normally you do not need to uncomment this tag.
  153. #confusername conf
  154. # TAG: confpassword
  155. # If confusername is specified together with confpassword chillispot
  156. # will at regular intervals specified by the interval option query the
  157. # radius server for configuration information.
  158. # Normally you do not need to uncomment this tag.
  159. #confpassword secret
  160. # DHCP Parameters
  161. # TAG: dhcpif
  162. # Ethernet interface to listen to.
  163. # This is the network interface which is connected to the access points.
  164. # In a typical configuration this tag should be set to eth1.
  165. dhcpif wlan0
  166. # TAG: dhcpmac
  167. # Use specified MAC address.
  168. # An address in the range 00:00:5E:00:02:00 - 00:00:5E:FF:FF:FF falls
  169. # within the IANA range of addresses and is not allocated for other
  170. # purposes.
  171. # Normally you do not need to uncomment this tag.
  172. #dhcpmac 00:00:5E:00:02:00
  173. # TAG: lease
  174. # Time before DHCP lease expires
  175. # Normally you do not need to uncomment this tag.
  176. #lease 600
  177. # Universal access method (UAM) parameters
  178. # TAG: uamserver
  179. # URL of web server handling authentication.
  180. uamserver https://192.168.182.1/hotspotlogin
  181. # TAG: uamhomepage
  182. # URL of welcome homepage.
  183. # Unauthenticated users will be redirected to this URL. If not specified
  184. # users will be redirected to the uamserver instead.
  185. # Normally you do not need to uncomment this tag.
  186. uamhomepage http://localhost
  187. # TAG: uamsecret
  188. # Shared between chilli and authentication web server
  189. #uamsecret ht2eb8ej6s4et3rg1ulp
  190. # TAG: uamlisten
  191. # IP address to listen to for authentication requests
  192. # Do not uncomment this tag unless you are an experienced user!
  193. #uamlisten 192.168.182.1
  194. # TAG: uamport
  195. # TCP port to listen to for authentication requests
  196. # Do not uncomment this tag unless you are an experienced user!
  197. #uamport 3990
  198. # TAG: uamallowed
  199. # Comma separated list of domain names, IP addresses or network segments
  200. # the client can access without first authenticating.
  201. # It is possible to specify this tag multiple times.
  202. # Normally you do not need to uncomment this tag.
  203. #uamallowed www.chillispot.org,10.11.12.0/24
  204. # TAG: uamanydns
  205. # If this flag is given unauthenticated users are allowed to use
  206. # any DNS server.
  207. # Normally you do not need to uncomment this tag.
  208. #uamanydns
  209. # MAC authentication
  210. # TAG: macauth
  211. # If this flag is given users will be authenticated only on their MAC
  212. # address.
  213. # Normally you do not need to uncomment this tag.
  214. #macauth
  215. # TAG: macallowed
  216. # List of MAC addresses.
  217. # The MAC addresses specified in this list will be authenticated only on
  218. # their MAC address.
  219. # This tag is ignored if the macauth tag is given.
  220. # It is possible to specify this tag multiple times.
  221. # Normally you do not need to uncomment this tag.
  222. #macallowed 00-0A-5E-AC-BE-51,00-30-1B-3C-32-E9
  223. # TAG: macpasswd
  224. # Password to use for MAC authentication.
  225. # Normally you do not need to uncomment this tag.
  226. #macpasswd password
  227. # TAG: macsuffix
  228. # Suffix to add to MAC address in order to form the username.
  229. # Normally you do not need to uncomment this tag.
  230. #macsuffix suffix