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

26,026

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 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

Solution 3

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 4

An https URL block is not supported except in some newer models in routers. You can block these URLs using your hosts file.

Steps:

  1. Open the hosts file in Notepad form the location C:\Windows\System32\drivers\etc
  2. Add the following lines after the last line

    127.0.0.1          https://www.facebook.com
    127.0.0.1          http://www.facebook.com
    

Result: It blocks the URL assuming the given address is from the local machine itself.

Share:
26,026

Related videos on Youtube

yuritsuki
Author by

yuritsuki

The 💰 intent 💰 is 💰 to 💰 provide 💰 players 💰 with 💰 a 💰 sense 💰 of 💰 pride 💰 and 💰 accomplishment 💰 for 💰 unlocking 💰 different 💰 Arqade benefits. 💰 As 💰 for 💰 cost, 💰 we 💰 selected 💰 initial 💰 values 💰 based 💰 upon 💰 data 💰 from 💰 the 💰 Open 💰 Beta 💰 and 💰 other 💰 adjustments 💰 made 💰 to 💰 reputation 💰 rewards 💰 before 💰 launch. 💰 Among 💰 other 💰 things, 💰 we're 💰 looking 💰 at 💰 average 💰 per-user 💰 reputation 💰 earn 💰 rates 💰 on 💰 a 💰 daily 💰 basis, 💰 and 💰 we'll 💰 be 💰 making 💰 constant 💰 adjustments 💰 to 💰 ensure 💰 that 💰 users 💰 have 💰 challenges 💰 that 💰 are 💰 compelling, 💰 rewarding, 💰 and 💰 of 💰 course 💰 attainable 💰 via 💰 gameplay. We 💰 appreciate 💰 the 💰 candid 💰 feedback, 💰 and 💰 the 💰 passion 💰 the 💰 community 💰 has 💰 put 💰 forth 💰 around 💰 the 💰 current 💰 topics 💰 here 💰 on 💰 Reddit, 💰 our 💰 forums 💰 and 💰 across 💰 numerous 💰 social 💰 media 💰 outlets. Our 💰 team 💰 will 💰 continue 💰 to 💰 make 💰 changes 💰 and 💰 monitor 💰 community 💰 feedback 💰 and 💰 update 💰 everyone 💰 as 💰 soon 💰 and 💰 as 💰 often 💰 as 💰 we 💰 can. 💰 💰

Updated on September 18, 2022

Comments

  • yuritsuki
    yuritsuki over 1 year

    I recently got a new router, a DRL-600L Router from D-Link, and was setting up some filters to block out certain websites. One problem I am having is blocking out addresses that use https instead of http.

    For example, I'm trying to block out Facebook, because Facebook. So far, the filter filters http://www.facebook.com perfectly fine, but for the url https://www.facebook.com, it won't block that.

    How can I block those kinds of websites?

  • tripleee
    tripleee over 7 years
    The https:// or http:// parts are wrong here. The file contains a mapping from IP addresses to host names, not URLs. (Also, multiple hosts with the same IP address usually go on the same line.)
  • DavidPostill
    DavidPostill over 7 years
    The host file should contains hostnames not urls.