Hi, looking for help. Whenever I start/restart the PF service (
Though I don't interfere with pf service often, this dropping of connection disrupts my workflow. Is there any way to avoid it and keep my deny-by-default configuration? Basically, intention is to allow existing connections to continue after PF service starts?
I was thinking of something similar to ipfw's
Current setup looks something like this (ext_if is my only local network interface):
sudo service pf start
), my SSH tunnel disconnects (and hangs locally). I have to kill the process locally or let it timeout, and reconnect in order to continue.Though I don't interfere with pf service often, this dropping of connection disrupts my workflow. Is there any way to avoid it and keep my deny-by-default configuration? Basically, intention is to allow existing connections to continue after PF service starts?
I was thinking of something similar to ipfw's
$cmd 00010 check-state
(as an example), which would check the current connection for matching state rather than flushing everything on startup.Current setup looks something like this (ext_if is my only local network interface):
Code:
ext_if = "{{ pf_ext_if }}"
block all
set skip on lo0
pass in quick on $ext_if proto tcp from any to any port ssh keep state