local view = ... ?>
Firewall configuration
GENERAL
= html.link{value = view.url .. "/edit?name=shorewall.conf", label="shorewall.conf" } ?>
Modify global configuration settings.
= html.link{value = view.url .. "/edit?name=params", label="params" } ?>
Define variables used in the other configuratino files.
= html.link{value = view.url .. "/edit?name=zones", label="zones" } ?>
Name network partions. Firewal rules are applied to defined zones.
= html.link{value = view.url .. "/edit?name=interfaces", label="interfaces" } ?>
Map physical interfaces to named zones.
= html.link{value = view.url .. "/edit?name=hosts", label="hosts" } ?>
Map individual hosts or networks to named zones.
FIREWALLING
= html.link{value = view.url .. "/edit?name=policy", label="policy" } ?>
Set default rules (policies) for zones.
= html.link{value = view.url .. "/edit?name=rules", label="rules" } ?>
Define exceptions to policies.
= html.link{value = view.url .. "/edit?name=routestopped", label="routestopped" } ?>
Define hosts that can access this host when the firewall is "stopped".
= html.link{value = view.url .. "/edit?name=tunnels", label="tunnels" } ?>
Specify ipsec tunel endpoints.
= html.link{value = view.url .. "/edit?name=blacklist", label="blacklist" } ?>
List ip addresses or names that should be denied all access to the firewall.
NAT
= html.link{value = view.url .. "/edit?name=masq", label="masq" } ?>
Define dynamic Masquerading or DNAT tables.
= html.link{value = view.url .. "/edit?name=nat", label="nat" } ?>
Define static Network Address Translation tables.
QOS
= html.link{value = view.url .. "/edit?name=tos", label="tos" } ?>
Specify type of service markers for packets traversing the firewall.
= html.link{value = view.url .. "/edit?name=tcdevices", label="tcdevices" } ?>
Define traffic control devices.
= html.link{value = view.url .. "/edit?name=tcclasses", label="tcclasses" } ?>
Define traffic control classes.
= html.link{value = view.url .. "/edit?name=tcrules", label="tcrules" } ?>
Define traffic control rules.
SHOW CONFIG FILES
= html.link{value = view.url .. "/list", label="View all files/configs" } ?>
Provide a autogenerated list of files in '/etc/shorewall'.
SYSTEM INFO
Program version
= view.programstats.programversion ?>
Program status
= view.programstats.programstatus ?>
Program state
= view.programstats.programstate ?>
--[[
Show shorewall details
[connections] Displays the IP connections currently being tracked by the firewall
--]] ?>
MANAGEMENT
Preform check of configs
Preform restart of firewall
if (view.programstats.restart) then io.write(view.programstats.restart) end ?>
--[[
Preform refresh of configs
Involves black list, ECN control rules, and traffic shaping...
--]] ?>
--[[ DEBUG INFORMATION...?>
THIS VIEW CONTAINS THE FOLLOWING VARIABLES/TABLES
------------ START DEBUG INFORMATION ------------
--print ("")
for a,b in pairs(view) do
if not (type(b) == "table") then
print ("" .. a .. ": >" .. b .. "<
")
else
print ("" .. a .. ":...
")
for c,d in pairs(view[a]) do
if not (type(d) == "table") then
print (" { " .. c .. ": >" .. d .. "< }
")
else
print (" { " .. c .. ":...
")
for e,f in pairs(view[a][c]) do
if not (type(f) == "table") then
print (" { { " .. e .. ": >" .. f .. "< } }
")
else
print (" { { " .. e .. ":... (table is not visible at the moment)
")
end
end
end
end
end
a,b,c,d,e,f,g,h,i,j = nil,nil,nil,nil,nil,nil,nil,nil,nil,nil
end
print ("------------ END DEBUG INFORMATION ------------")
?>
--]] ?>