overview
In a firewall terms, a panic mode is mode that used to stop all traffic means discard all existing connection when we are a facing a serious problem in network environment. This mode will dropped all incoming and outgoing packets when we enable the panic mode.
note
jangan coba di vps
To enable panic mode in firewalld ?
sudo firewall-cmd --panic-on
Note 1: Run this command carefully when you are physically reachable or supporting person is available. do not run this command over the ssh connection because you will lost your connection after the panic mode active.
Note 2 : We should not use --permanent option on this command it should be execute at runtime only.
To verify panic mode is active or not
sudo firewall-cmd --query-panic
To disable panic mode in firewalld ?
sudo firewall-cmd --panic-off