OK, after reading the handbook several times, my brain is just not getting what is wrong with my pf.conf:
As far as I remember reading the rules should be read from top to bottom, last rule match winning. What I want is some rules saying, "Block everything coming in except for TCP port 50000, and allow everything going out to pass."
Seems pretty basic, but this always block me out.
Code:
set block-policy return
block in all
pass out all keep state
pass in on wlan0 inet6 proto tcp from port 50000 keep state
pass in on wlan0 inet proto tcp from port 50000 keep state
As far as I remember reading the rules should be read from top to bottom, last rule match winning. What I want is some rules saying, "Block everything coming in except for TCP port 50000, and allow everything going out to pass."
Seems pretty basic, but this always block me out.
Last edited by a moderator: