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