1
mirror of https://github.com/jakejarvis/cloudflare-ufw-updater.git synced 2025-06-27 15:05:43 -04:00

fix the last v4 and first v6 address on the same line

This commit is contained in:
2022-05-13 11:18:01 -04:00
committed by GitHub
parent 1fb6c92803
commit e148f9cd04

View File

@ -13,6 +13,7 @@
# Fetch latest IP range lists (both v4 and v6) from Cloudflare
curl -s https://www.cloudflare.com/ips-v4 -o /tmp/cf_ips
echo "" >> /tmp/cf_ips
curl -s https://www.cloudflare.com/ips-v6 >> /tmp/cf_ips
# Restrict traffic to ports 80 (TCP) & 443 (TCP)