nodogsplash: idletimeout => clientidletimeout (fixes #292)
[feed/routing.git] / nodogsplash / files / nodogsplash.config
index dbefeb47bd55ca7fd158e5923cb4b6d834d93ab7..9626b804e1ee5e9ac76fad4677607ae6f4a8243f 100644 (file)
@@ -1,13 +1,19 @@
-config instance
+
+# The options available here are an adaptation of the settings used in nodogsplash.conf.
+# See https://github.com/nodogsplash/nodogsplash/blob/master/resources/nodogsplash.conf
+
+config nodogsplash
   # Set to 1 to enable nodogsplash
   option enabled 0
 
-  # Use plain configuration file as well
+  # Use plain configuration file
   #option config '/etc/nodogsplash/nodogsplash.conf'
+
+  # The network the users are connected to
   option network 'lan'
   option gatewayname 'OpenWrt Nodogsplash'
   option maxclients '250'
-  option idletimeout '1200'
+  option clientidletimeout '1200'
 
   # Your router may have several interfaces, and you
   # probably want to keep them private from the network/gatewayinterface.
@@ -36,4 +42,12 @@ config instance
   list users_to_router 'allow tcp port 80'
   list users_to_router 'allow tcp port 443'
 
-  # See https://github.com/nodogsplash for a full list of available options.
+  # MAC addresses that are / are not allowed to access the splash page
+  # Value is either 'allow' or 'block'. The allowedmac or blockedmac list is used.
+  #option macmechanism 'allow'
+  #list allowedmac '00:00:C0:01:D0:0D'
+  #list allowedmac '00:00:C0:01:D0:1D'
+  #list blockedmac '00:00:C0:01:D0:2D'
+
+  #MAC addresses that do not need to authenticate
+  #list trustedmac '00:00:C0:01:D0:1D'