From 2e1046d8015dd3413e3c68687a8724df8adc1068 Mon Sep 17 00:00:00 2001 From: Pratik Tripathy <> Date: Mon, 13 Oct 2025 12:15:43 +0530 Subject: [PATCH] fix(pf-FreeBSD): Enable pf before starting the service --- init-linux-harden.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init-linux-harden.sh b/init-linux-harden.sh index fe9ce2f..7fe466d 100755 --- a/init-linux-harden.sh +++ b/init-linux-harden.sh @@ -637,7 +637,7 @@ pass out all keep state pass in proto tcp from any to any port { ssh, http, https } keep state EOF - output=$(service pf start 2>&1) + output=$(manage_service pf enable && manage_service pf start) file_log "INFO" "$output" # Verify rules and load configuration