mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Show rules file
This commit is contained in:
@@ -4,8 +4,11 @@
|
||||
|
||||
require './firewall-lib.pl';
|
||||
&ReadParse();
|
||||
if ($iptables_save_file) {
|
||||
$desc = &text('index_editing', "<tt>$iptables_save_file</tt>");
|
||||
}
|
||||
&ui_print_header(undef, $text{'index_title'}, undef, "intro", 1, 1, 0,
|
||||
&help_search_link("iptables", "man", "doc"));
|
||||
&help_search_link("iptables", "man", "doc"), undef, undef, $desc);
|
||||
|
||||
# Check for iptables and iptables-restore commands
|
||||
if ($c = &missing_firewall_commands()) {
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
index_title=Linux Firewall
|
||||
index_editing=Rules file $1
|
||||
index_ecommand=The command $1 was not found on your system. Webmin needs this command to configure IPtables.
|
||||
index_ekernel=An error occured when checking your current IPtables configuration : $1 This may indicate that your kernel does not support IPtables.
|
||||
index_header=Firewall configuration from $1
|
||||
|
||||
Reference in New Issue
Block a user