diff --git a/src/Core/System/Configs/IptablesConf.php b/src/Core/System/Configs/IptablesConf.php index dd8bbdb20..98edfed37 100644 --- a/src/Core/System/Configs/IptablesConf.php +++ b/src/Core/System/Configs/IptablesConf.php @@ -143,8 +143,8 @@ public function applyConfig(): void private function dropAllRules(): void { $iptablesPath = Util::which('iptables'); - Processes::mwExec("$iptablesPath -F"); - Processes::mwExec("$iptablesPath -X"); + Processes::mwExec("$iptablesPath -F INPUT"); + Processes::mwExec("$iptablesPath -X INPUT"); } /**