Hi,
I'm new to PF. I read the documentation very carefully and I can't understand why this simple pf.conf locks me out of ssh:
When I set this up and restart the pf service, it's over, I can no longer ssh into the machine.
I'm new to PF. I read the documentation very carefully and I can't understand why this simple pf.conf locks me out of ssh:
Code:
tcp_egress_out="{53, 80, 443, 123}"
block in all
block out all
pass in quick on lo0
pass out quick on lo0
pass in quick on egress inet proto tcp from any to (egress) port 22
pass out quick on egress inet proto tcp from (egress) to any port $tcp_egress_out
When I set this up and restart the pf service, it's over, I can no longer ssh into the machine.