From e2ba2e5f84ece245acbc48e77ac11bacf8b21afb Mon Sep 17 00:00:00 2001 From: Pete Thomas <5d24@cloudflare.com> Date: Thu, 12 Jan 2023 09:22:39 +0000 Subject: [PATCH] Establish remotely --- subfiles/block_cloudflare_with/firewall.md | 59 +++++++++++++++++++++- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/subfiles/block_cloudflare_with/firewall.md b/subfiles/block_cloudflare_with/firewall.md index 655464d315..b0c1137df2 100644 --- a/subfiles/block_cloudflare_with/firewall.md +++ b/subfiles/block_cloudflare_with/firewall.md @@ -3,6 +3,7 @@ This page show you how to block CloudFlare websites with your firewall, preventing from connecting to them. + ### With nftables
_click me_ @@ -15,8 +16,8 @@ define cf6 = { 2400:cb00::/32, 2405:8100::/32, 2405:b500::/32, 2606:4700::/32, 2 # add the following lines to table inet filter { chain output { - ip daddr { $dns_google, $dns_tdc, $dns_telenor } counter reject with icmp type admin-prohibited comment "Droped CF quires" - ip6 daddr { $ipv6_google_dns, $ipv6_tdc_dns } counter reject with icmpv6 type admin-prohibited comment "Droped CF quires" + ip daddr { $cf4 } counter reject with icmp type admin-prohibited comment "Dropped CF quires" + ip6 daddr { $cf6 } counter reject with icmpv6 type admin-prohibited comment "Dropped CF quires" ... ``` @@ -115,3 +116,57 @@ New-NetFirewallRule -DisplayName "Block CF" -Direction Outbound –LocalPort Any ```
+ +### With COMODO Firewall + +
_click me_ + +1. Export your configuration to file. +2. Open the file and search for `` +3. Copy & paste below text to between `` and ``. +4. Save the file and import it with new profile name. +5. Apply the profile. + +``` +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+``` + +
+ +### With PeerBlock + +
_click me_ + +``` +CloudFlare:103.21.244.0-103.21.247.255 +CloudFlare:103.22.200.0-103.22.203.255 +CloudFlare:103.31.4.0-103.31.7.255 +CloudFlare:104.16.0.0-104.23.255.255 +CloudFlare:104.24.0.0-104.27.255.255 +CloudFlare:108.162.192.0-108.162.255.255 +CloudFlare:131.0.72.0-131.0.75.255 +CloudFlare:141.101.64.0-141.101.127.255 +CloudFlare:162.158.0.0-162.159.255.255 +CloudFlare:172.64.0.0-172.71.255.255 +CloudFlare:173.245.48.0-173.245.63.255 +CloudFlare:188.114.96.0-188.114.111.255 +CloudFlare:190.93.240.0-190.93.255.255 +CloudFlare:197.234.240.0-197.234.243.255 +CloudFlare:198.41.128.0-198.41.255.255 +``` + +