IP-ASN Rule
The IP-ASN rule matches traffic based on the Autonomous System Number (ASN) of the destination IP address.
IP-ASN
IP-ASN,13335,DIRECT
Rule matches if the destination IP address belongs to the specified ASN. This rule will trigger a DNS lookup if the hostname is a domain.
You can use the no-resolve option to skip DNS resolution for domain hostnames:
IP-ASN,13335,DIRECT,no-resolve
You may find the ASN for an IP range using services like bgp.he.net.
Common ASN Examples
| ASN | Organization |
|---|---|
| 13335 | Cloudflare |
| 15169 | |
| 16509 | Amazon (AWS) |
| 8075 | Microsoft |
| 32934 | |
| 54113 | Fastly |
Notice: The IP-ASN rule uses the built-in MaxMind GeoLite2 database for lookup, and ASN data may not always be accurate or up-to-date.