<% local dsp = require "luci.dispatcher" local nfs = require "nixio.fs" local has_app_filter = nfs.access("/etc/config/appfilter") local has_access_control = nfs.access("/etc/config/macfilter") local has_record = nfs.access("/etc/config/fwx_record") %>
<%:Users in the whitelist are not subject to control. For terminals using random MAC addresses, you can use the whitelist mechanism together with filtering rules: select All Users in a filtering rule, and the rule will apply to all new users.%>
<% if has_app_filter then %> <% end %> <% if has_access_control then %> <% end %> <% if has_record then %> <% end %>
<% if has_app_filter then %>

<%:App Filter Whitelist%>

<%:No.%><%:MAC Address%><%:Hostname%><%:Nickname%><%:Operation%>
<%:Loading...%>
<% end %> <% if has_access_control then %>

<%:Access Control Whitelist%>

<%:No.%><%:MAC Address%><%:Hostname%><%:Nickname%><%:Operation%>
<%:Loading...%>
<% end %> <% if has_record then %>

<%:Record Whitelist%>

<%:No.%><%:MAC Address%><%:Hostname%><%:Nickname%><%:Operation%>
<%:Loading...%>
<% end %>
<%:Add to Whitelist%>
<%:Selected%>: 0 / 0