chilli.config 8.1 KB

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