<%+header%>

<%:Captive Portal%>

<%:Nodogsplash offers a simple way to provide restricted access to an internet connection.%>
<% if err and err.notice ~= "" then %>
<%=err.notice%>
<% end %>
<%:General%>

<%if err then%>
<%=err.leasetime%>
<%end%>
help <%:Clients that have accepted the captive portal are allowed to use the network for that many minutes.%>
checked<% end %>/>
<%:help%> <%:If this is checked, clients will be redirected to your homepage, instead of to their original request.%>

<%:help%> <%:After authentication, clients will be redirected to this URL instead of to their original request.%>
checked<% end %>/>
<%:help%> <%:If this is checked, clients will be immediately directed to their original request or your homepage (if set above), instead of being served a splash page.%>
<%:Interfaces%>
<%:Interfaces that are used for Splash.%>
<%:Network%>
<%:Intercept client traffic on this Interface%>
<% for i, selected_zone in pairs(splash.selected_zones) do %> <% end %> <% if not next(splash.selected_zones) then %> <% end %>
<%:Whitelist%>
<%:MAC addresses of whitelisted clients. These do not need to accept the splash and are not bandwidth limited.%>
<%:MAC Address%>
<% for _, whitelist in pairs(splash.whitelist) do %>
<% end %> <% if not next(splash.whitelist) then %>
<% end %> <%if err then%>
<%=err.whitelist%>
<%end%>
<%:Blacklist%>
<%:MAC addresses in this list are blocked.%>
<%:MAC Address%>
<% for _, blacklist in pairs(splash.blacklist) do %> <% end %> <% if not next(splash.blacklist) then %> <% end %> <%if err then%>
<%=err.blacklist%>
<%end%>
<%:Allowed hosts/subnets%>
<%:Hosts and Networks that are listed here are excluded from splashing, i.e. they are always allowed.%>
<%:IP Address%>
<%:CIDR notation optional (e.g. 192.168.1.0/24)%>
<% for _, ipaddr in pairs(splash.ipaddrs) do %> <% end %> <% if not next(splash.ipaddrs) then %> <% end %> <%if err then%>
<%=err.ipaddrs%>
<%end%>

<%+footer%>