pfblocker but for ASN
-
Hi,
I'm looking for an ability to provide a list of ASN and it fetches the networks and makes them into aliases. So basically I want to automate this process:
- get the next ASN from the list (e.g. AS46489)
- execute whois -h whois.radb.net -- '-i origin AS46489' | awk '/^route:/ {print $2;}' | sort | uniq
- store the output in an alias
I want to create firewall rules to block access to specific companies websites, but I don't want to go an do it all manually. Especially, I want to have it refreshed every 7 days.
So this functionality is like pfblocker for geoips but for ASNs.
Does this already exist in one of the plugins?
Cheers.
-
This works. Do one for ipv4 and ipv6 if needed.
-
Wonderful! I love this thing!
-
@A Former User said in pfblocker but for ASN:
This works. Do one for ipv4 and ipv6 if needed.
Hi, where is this interface located?
-
Cancel that, I found it.....
-
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.