APF firewall ip ranges

I am adding some rules to APF, I have ssh blocked but I have a rule in my /etc/apf/allow_hosts.rules which allows connections from me.

tcp:in:d=22APF firewall ip ranges=XXX.XXX.X.XX

Now if my internet goes kapoop I won’t be able to ssh into my server if something goes wrong. All of my friends/family all have Cox cable so I’m adding a rule to allow my entire town to access the SSH service. Cox was nice enough to split up their net blocks by city so if you wanted to allow this city in Atlanta AT-RDC-68-105-160-0 (68.105.160.0 - 68.105.175.255)

That page shows the CIDR as 68.105.160.0/20 so I added this to my allow_hosts.rule

tcp:in:d=22APF firewall ip ranges=68.105.160.0/20

It doesn’t seem to be working, am I missing something? My other rules work this is the first time i've done ip ranges

 

 

 

 

Top