fix(pf-FreeBSD): Enable pf before starting the service
This commit is contained in:
@@ -637,7 +637,7 @@ pass out all keep state
|
|||||||
pass in proto tcp from any to any port { ssh, http, https } keep state
|
pass in proto tcp from any to any port { ssh, http, https } keep state
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
output=$(service pf start 2>&1)
|
output=$(manage_service pf enable && manage_service pf start)
|
||||||
file_log "INFO" "$output"
|
file_log "INFO" "$output"
|
||||||
|
|
||||||
# Verify rules and load configuration
|
# Verify rules and load configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user