From 6f7ec5d282523a181569f820283cb2d94023d72f Mon Sep 17 00:00:00 2001 From: Kayo Date: Sun, 1 Apr 2018 23:51:25 -0700 Subject: [PATCH] Updated IP's --- cloudflare-ips | 30 ------------------------------ real-ip-from-cf | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 30 deletions(-) delete mode 100644 cloudflare-ips create mode 100644 real-ip-from-cf diff --git a/cloudflare-ips b/cloudflare-ips deleted file mode 100644 index f42e28e..0000000 --- a/cloudflare-ips +++ /dev/null @@ -1,30 +0,0 @@ -# https://www.cloudflare.com/ips/ - -# IPv4 Ranges -# https://www.cloudflare.com/ips-v4/ -set_real_ip_from 03.21.244.0/22; -set_real_ip_from 03.22.200.0/22; -set_real_ip_from 03.31.4.0/22; -set_real_ip_from 04.16.0.0/12; -set_real_ip_from 08.162.192.0/18; -set_real_ip_from 31.0.72.0/22; -set_real_ip_from 41.101.64.0/18; -set_real_ip_from 62.158.0.0/15; -set_real_ip_from 72.64.0.0/13; -set_real_ip_from 73.245.48.0/20; -set_real_ip_from 88.114.96.0/20; -set_real_ip_from 90.93.240.0/20; -set_real_ip_from 97.234.240.0/22; -set_real_ip_from 98.41.128.0/17; - -# IPv6 Ranges -# https://www.cloudflare.com/ips-v6/ -set_real_ip_from 400:cb00::/32; -set_real_ip_from 405:8100::/32; -set_real_ip_from 405:b500::/32; -set_real_ip_from 606:4700::/32; -set_real_ip_from 803:f800::/32; -set_real_ip_from c0f:f248::/32; -set_real_ip_from a06:98c0::/29; - -real_ip_header CF-Connecting-IP; diff --git a/real-ip-from-cf b/real-ip-from-cf new file mode 100644 index 0000000..e39c1d2 --- /dev/null +++ b/real-ip-from-cf @@ -0,0 +1,30 @@ +# https://www.cloudflare.com/ips/ + +# IPv4 Ranges +# https://www.cloudflare.com/ips-v4/ +set_real_ip_from 103.21.244.0/22; +set_real_ip_from 103.22.200.0/22; +set_real_ip_from 103.31.4.0/22; +set_real_ip_from 104.16.0.0/12; +set_real_ip_from 108.162.192.0/18; +set_real_ip_from 131.0.72.0/22; +set_real_ip_from 141.101.64.0/18; +set_real_ip_from 162.158.0.0/15; +set_real_ip_from 172.64.0.0/13; +set_real_ip_from 173.245.48.0/20; +set_real_ip_from 188.114.96.0/20; +set_real_ip_from 190.93.240.0/20; +set_real_ip_from 197.234.240.0/22; +set_real_ip_from 198.41.128.0/17; + +# IPv6 Ranges +# https://www.cloudflare.com/ips-v6/ +set_real_ip_from 2400:cb00::/32; +set_real_ip_from 2405:8100::/32; +set_real_ip_from 2405:b500::/32; +set_real_ip_from 2606:4700::/32; +set_real_ip_from 2803:f800::/32; +set_real_ip_from 2c0f:f248::/32; +set_real_ip_from 2a06:98c0::/29; + +real_ip_header CF-Connecting-IP;