Hello,
The /etc/pf.conf file looks like this:
The following command doesn't show me any errors either:
Finally, I did:
But my SSH connection was lost. Why?
Thank you.
The /etc/pf.conf file looks like this:
Code:
set block-policy return
set fingerprints "/etc/pf.os"
set skip on lo0
# Allow all outgoing traffic
pass out all
# Allow incoming SSH (optional)
pass in proto tcp to port 22
# Block everything else by default
block in all
The following command doesn't show me any errors either:
Code:
$ sudo pfctl -f /etc/pf.conf
Finally, I did:
Code:
$ sudo service pf start
But my SSH connection was lost. Why?
Thank you.