You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

230 lines
8.0 KiB

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