coovachilli 8.0 KB

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