| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/nftables/ |
Upload File : |
#!/usr/bin/perl
# bootup.cgi
# Enable or disable Webmin-managed nftables rules at boot time
require './nftables-lib.pl'; ## no critic
use strict;
use warnings;
our (%in, %text);
ReadParse();
assert_acl('bootup');
foreign_check("init") || error($text{'bootup_einit'});
if ($in{'boot'}) {
create_nftables_init();
}
else {
disable_nftables_init();
}
webmin_log($in{'boot'} ? "bootup" : "bootdown");
redirect("index.cgi");