Example of #Blocking #ASNs (https://en.wikipedia.org/wiki/Autonomous_system_(Internet)) with #opnsense:

Head to the #Firewall section

1. Create a new alias

Name: "ASN_Google_IPv4"
Type: "BGP ASN"
Content: The plain ASN number 15169 (#Google)
Give a description

2. Create a floating rule

Rule category: Floating
Action: Block
Interface: LAN/WAN
Direction: Any
TCP Version: IPv4
Protocol: any
Destination: ASN_Google_IPv4
Logging as desired

Lookup ASNs:
https://securitytrails.com/blog/asn-lookup

#opensource #asn #block #privacy #network #privacy

Autonomous system (Internet) - Wikipedia

I have to add, blocking Google entirely wouldn't be a good idea, though. Don't try.  

It's just an example.