meja kerja · berjalan lokal
Merge a list of IPs and ranges into the fewest CIDR blocks
Allowlists and firewall rules grow by accretion: single addresses, overlapping blocks, a range someone typed by hand. This pipeline merges them into the fewest CIDR blocks covering exactly the same addresses, IPv4 first, then IPv6. Add exclusions to the step if some addresses must stay out.
Langkah: Merge into CIDRs
Alat terkait
Resep lainnya
- Decode a JWT and read its payload
- Extract one claim from a JWT
- Base64-decode, then prettify JSON
- Convert JSON to YAML
- Parse a query string into JSON
- Get one parameter from a URL
- Convert JSON to a query string
- Convert YAML to JSON
- Flatten a JSON array into CSV
- WireGuard AllowedIPs without the LAN
- Remove duplicate lines and sort