On Mon, Jan 19, 2026 at 06:01:25PM +0300, Washington Odhiambo wrote:
> # -----------------------------------
> # Block everything else (default deny)
> # Log blocked packets for debugging
> # -----------------------------------
> block in log all
> block out log all

These rules are blocking everything.

PF evaluates rules sequentially, but the _last_ matching rule is essentially
what counts.

You can designate one or more rules as 'quick' to change that behaviour, but
the most logical thing to do in your case would be to remove these block lines
from the end and just have a single block rule at the top of the file:

block return

Then pass just the traffic you need, both in and out.

Alternatively, if you don't want to write specific rules to pass the outbound
traffic, you could start with:

block return in

Reply via email to