让 Nginx 只允许 Cloudflare 反向代理流量以隐藏源站 | Nova Kwok\\\'s Awesome Blog (0) 分享一下~ REF https://nova.moe/nginx-block-non-cloudflare-ips/ 分享人 admin @ 2019-11-17 18:00:44 分享到微信 我也说两句: 登录以分享 @admin # 2021-06-02 15:19:37 回复 # https://www.cloudflare.com/ips # IPv4 allow 103.21.244.0/22; allow 103.22.200.0/22; allow 103.31.4.0/22; allow 104.16.0.0/12; allow 108.162.192.0/18; allow 131.0.72.0/22; allow 141.101.64.0/18; allow 162.158.0.0/15; allow 172.64.0.0/13; allow 173.245.48.0/20; allow 188.114.96.0/20; allow 190.93.240.0/20; allow 197.234.240.0/22; allow 198.41.128.0/17; # IPv6 allow 2400:cb00::/32; allow 2405:8100::/32; allow 2405:b500::/32; allow 2606:4700::/32; allow 2803:f800::/32; allow 2c0f:f248::/32; allow 2a06:98c0::/29;