PF Putting all traffic to a specific port into a table

Hi!

I would like to ban all ips trying to reach the ssh port :-)

I tried this as it would be perfect! But that doesn't work :-s
Code:
block in quick inet to port ssh keep state (max-src-conn 0, overload <banned> flush global)

Is there a way to achieve what I want?
 
Back
Top