@extends('admin.firewallplus.layout', ['fwpTab' => 'emergency']) @section('fwp_title') Firewall-Plus: Incident controls @endsection @section('fwp_subtitle') Global freeze and recovery operations @endsection @section('fwp') @if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
Could not save:
@endif

Global reapply

Queues a forced re-apply for every server that currently has Firewall-Plus enabled. Servers on offline nodes are skipped. Safe to run at any time, it is idempotent.

@csrf

Reset all analytics

Clears all Firewall-Plus analytics history (ring buffers / metrics storage) on every online node. Firewall rules and configs are not removed; only charts, counters history, and dashboard stats. Counters restart from zero on the next metrics tick.

@csrf

Impact overview

Loading impact…
@csrf

Disable rule types

Users cannot create or update rules of these types while listed.

@php($oldDisabled = old('disabled_rules', $disabled_rules)) @foreach ($rule_types as $type)
@endforeach

Removes iptables rules of the selected disabled types from every affected server on online nodes. Future applies will omit these types until they are re-enabled here.

@error('disabled_rules')

{{ $message }}

@enderror @error('disabled_rules.*')

{{ $message }}

@enderror

Global freeze

Instantly blocks all user-initiated firewall mutations across every server on this panel. No new rules can be created, edited, or deleted while this is active, and any queued applies are rejected. When to use: activate this when you suspect a compromised account is modifying firewall rules, or during a maintenance window where rule changes could disrupt your network. Rules already applied to nodes stay active until a manual re-apply; this only blocks further changes.

Emergency flush

Removes every FWP-* iptables chain managed by this addon from all online nodes. Only Firewall-Plus managed rules are removed. Docker rules, system-created chains, UFW rules, and any manually added iptables rules that do not carry an FWP comment tag will not be touched. Servers will be left without any FWP protections until you run a global re-apply.

When to use: if nodes are stuck with stale or conflicting FWP chains after a failed deploy, a rule-set rollback, or a node crash, run this to wipe the slate clean then trigger a re-apply. Not for routine use.

CLI equivalent: php artisan firewall-plus:emergency-flush --all-nodes --confirm

@endsection @section('footer-scripts') @parent @endsection