View Single Post
  #8   (View Single Post)  
Old 22nd December 2016
psypro psypro is offline
Package Pilot
 
Join Date: Mar 2016
Location: Continent:Europe
Posts: 156
Default

I added the second part as well.

Code:
pass in on egress proto tcp to 192.168.0.2  port 80 keep state   \
                  (max 200, source-track rule, max-src-nodes 100, \
                   max-src-states 3)

table <abusive_hosts> persist
block in quick from <abusive_hosts>

pass in on egress proto tcp to 192.168.0.2  port 80 flags S/SA keep state \
(max-src-conn 100, max-src-conn-rate 15/5, \
overload <abusive_hosts> flush)
Reply With Quote