Skip to content

Commit

Permalink
Попрпавил очистку праил iptables.
Browse files Browse the repository at this point in the history
  • Loading branch information
apor committed Nov 30, 2022
1 parent d5c48a9 commit 629903c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core/System/Configs/IptablesConf.php
Expand Up @@ -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");
}

/**
Expand Down

0 comments on commit 629903c

Please sign in to comment.