diff --git a/extensions/Servers/Proxmox/Livewire/Firewall.php b/extensions/Servers/Proxmox/Livewire/Firewall.php index b18453f9d..e8e2e856e 100644 --- a/extensions/Servers/Proxmox/Livewire/Firewall.php +++ b/extensions/Servers/Proxmox/Livewire/Firewall.php @@ -37,7 +37,7 @@ class Firewall extends Component public bool $ruleEnable = true; public string $ruleMacro = ''; public string $ruleIface = ''; - public string $ruleLog = ''; + public string $ruleLog = 'nolog'; // Alias management public string $aliasName = ''; @@ -243,7 +243,7 @@ class Firewall extends Component $this->ruleEnable = !isset($rule['enable']) || $rule['enable'] == 1; $this->ruleMacro = $rule['macro'] ?? ''; $this->ruleIface = $rule['iface'] ?? ''; - $this->ruleLog = $rule['log'] ?? ''; + $this->ruleLog = $rule['log'] ?? 'nolog'; } } @@ -259,7 +259,7 @@ class Firewall extends Component $this->ruleEnable = true; $this->ruleMacro = ''; $this->ruleIface = ''; - $this->ruleLog = ''; + $this->ruleLog = 'nolog'; } public function saveRule(): void diff --git a/extensions/Servers/Proxmox/views/firewall.blade.php b/extensions/Servers/Proxmox/views/firewall.blade.php index ba37d089e..3d6aee230 100644 --- a/extensions/Servers/Proxmox/views/firewall.blade.php +++ b/extensions/Servers/Proxmox/views/firewall.blade.php @@ -445,14 +445,15 @@
- Are you sure you want to delete this firewall rule? This action cannot be undone. +
+ Are you sure you want to delete this firewall rule? This action cannot be undone and may affect your network security.
@if($ruleToDelete) -{{ $ruleToDelete['source'] }}
+ {{ $ruleToDelete['dest'] }}
+