hello
Server : Apache/2.4.52 (Ubuntu) System : Linux HAN2 5.15.0-185-generic #195-Ubuntu SMP Fri Jun 19 17:11:50 UTC 2026 x86_64 User : servadmin ( 1000) PHP Version : 8.1.2-1ubuntu2.25 Disable Function : NONE Directory : /usr/share/webmin/shorewall6/ |
#!/usr/bin/perl
# start.cgi
# Make the firewall active
require './shorewall6-lib.pl';
if ($access{'nochange'}) {
&redirect("/");
exit 0;
}
&error_setup($text{'start_err'});
$err = &run_before_apply_command();
&error($err) if ($err);
$out = &backquote_logged("$config{'shorewall6'} start 2>&1");
if ($?) {
&error("<pre>$out</pre>");
}
$err = &run_after_apply_command();
&webmin_log("start");
&redirect("");