How do I filter out addresses using HTTPS for a D-Link router?

Solution 1:

You can point your router to opendns.com and setup a free account and block anything you want. Unfortunately Dlink does not give you an easy way to do this, hence going to opendns.com.

Solution 2:

I'm assuming it's a DIR-600L router, and that you're using the built-in parental control feature. If it doesn't work using https, then this router doesn't support filtering https based on domain name. This is more difficult to do, especially since some browsers do not send the domain name before establishing a secure connection, at which point the traffic is encrypted and the router can't filter anymore.

You can use the firewall to block Facebook's know IP addresses, though you should be aware that they may change at any time. If the router supports IPv6 and you have an IPv6 prefix assigned by your ISP, don't forget to filter Facebook's IPv6 addresses. A quick search will give you a list of IP addresses used by Facebook.

Solution 3:

I found an easier wasy of doing this using the Windows hosts file.

Open the hosts file in Notepad, from the location C:\Windows\System32\drivers\etc
Add the following lines after the last line. Do not add http or https

127.0.0.1          www.facebook.com