Dec 17, 2019 · Block Facebook's IP address in addition to its domain name to restrict access to the social networking giant on your home network. Like many popular websites, Facebook uses many internet servers to handle incoming requests to its service, so to block Facebook, block the complete list of IP addresses that the company owns.

That was my initial thought. But thinking more about it, a packet filtering engine for ipv4 isn't that complicated. The rules he's looking for aren't stateful, the decision to block/unblock is only based on the source IP address. There are only 2**32 addresses, so a flag array for each possible address would only take 512MB of storage. Block a Site Permanently - WatchGuard Block a Site Permanently. To make sure a site is always blocked, you can permanently add sites to the Blocked Sites list. You can block an IPv4 or IPv6 host IP address, network IP address or host IP address range, host name (one-time DNS lookup), or you can block a site by FQDN (includes wildcard domains). IP Addressing | Classless Addressing - GeeksforGeeks

However, simply using Router firewall will not block YouTube because, (1) YouTube uses HTTPS- router firewall cannot block HTTPS, and (2) IP address blocking is not working because YouTube uses a lot of different IP addresses. Other methods that can work but not preferred. Computer-based Firewall software

Second, by blocking the domain name of youtube.com you are blocking all IP addresses youtube uses, because the IP address is handed down by DNS or the dynamic name server which translates the words youtube.com to the ip address, so it doesn't matter if youtube uses thousands of IP addresses, because if the DNS request of youtube.com is blocked

Aug 10, 2018

How To Block IP Address or Range Using Your Windows Firewall Block IP Address or Range Using Windows Firewall. Using a firewall you can easily block pesky and unwarranted IP addresses from infecting your system. Installing and setting up the Windows firewall is simple and keeps out the wrong IP addresses from your PC. Establishing Network Security 4 ways to keep your IP address private and secure