mirror of
https://github.com/jakejarvis/cloudflare-ufw-updater.git
synced 2026-09-11 23:25:31 -04:00
fix the last v4 and first v6 address on the same line
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
|
|
||||||
# Fetch latest IP range lists (both v4 and v6) from Cloudflare
|
# Fetch latest IP range lists (both v4 and v6) from Cloudflare
|
||||||
curl -s https://www.cloudflare.com/ips-v4 -o /tmp/cf_ips
|
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
|
curl -s https://www.cloudflare.com/ips-v6 >> /tmp/cf_ips
|
||||||
|
|
||||||
# Restrict traffic to ports 80 (TCP) & 443 (TCP)
|
# Restrict traffic to ports 80 (TCP) & 443 (TCP)
|
||||||
|
|||||||
Reference in New Issue
Block a user