fix(pf-FreeBSD): Enable pf before starting the service

This commit is contained in:
Pratik Tripathy
2025-10-13 12:15:43 +05:30
parent 18a8012e47
commit 2e1046d801

View File

@@ -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