Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Block website in Windows?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Block website in Windows?

Hi,

I want to know if there any way to block websites in Windows/Chrome?

I know about host file but I want to know how I can block a website (including all sub-domains)?

I have used a couple of chrome extensions and none has the option to block website including sub domains, as I cannot add hundreds of sub domains manually to block them. Something like *.website.com would be ideal.

Any suggestion?

Comments

  • Maybe use a firewall?

    Thanked by 1TheKiller
  • uBlock? uMatrix? Either one of those should work.

  • fazee6fazee6 Member
    edited August 2015

    use firewall

  • Is your son watching porn or something? :p

  • You can apply these IP addresses 199.85.126.20 and 199.85.127.20 within your network DNS to block porn websites. They are supported by Norton.

  • block in hosts file?

  • Use adblock and write some custom rules? https://adblockplus.org/en/filters

  • blocking never works always a way round it, however it can be done as others have side by windows firewall quite easily

  • Use dnsmasq and apply your rules there?

  • I think you can try block it with Chrome's group policy. The URL blacklist might be what you are looking for.

    http://www.chromium.org/administrators/policy-list-3

    Thanked by 1TheKiller
  • You can edit host file and use something like this

    0.0.0.0 blockedwebsite.com

  • @comXyz said:
    You can edit host file and use something like this

    0.0.0.0 blockedwebsite.com

    Have you read the post? I need to block its all sub domains.

  • FlamesRunnerFlamesRunner Member
    edited August 2015

    You should do it in your router.

    Some come with a feature to block websites on specific computers a.k.a parental controls.

    (just in case they figure out a way to get around it)

  • @TheKiller said:
    Have you read the post? I need to block its all sub domains.

    Then add all sub domains it has

    0.0.0.0 sub1.abc.com
    0.0.0.0 sub2.abc.com

  • @comXyz said:
    0.0.0.0 sub2.abc.com

    It will surely have 100,000s of sub domains, should I add them manually?

  • @TheKiller said:
    It will surely have 100,000s of sub domains, should I add them manually?

    Just coply all sub domains to excel, then add 0.0.0.0 using excel command, and copy all back to host file

  • @comXyz said:
    Just coply all sub domains to excel, then add 0.0.0.0 using excel command, and copy all back to host file

    I think you're missing the point....

  • http://community.spiceworks.com/topic/132705-how-can-i-emulate-a-wildcard-in-the-windows-hosts-file

    leading to http://mayakron.altervista.org/support/browse.php?path=Acrylic&name=Home

    
    Galen in Laguna Oct 8, 2013 at 5:49 UTC
    
    Acrylic DNS Proxy (free, open source) does the job. It creates a proxy DNS server (on your own computer) with its own hosts file. The hosts file accepts wildcards.
    
    Download from the offical website
    
    http://mayakron.altervista.org/support/browse.php?path=Acrylic&name=Home
    
    Configuring Acrylic DNS Proxy
    
    To configure Acrylic DNS Proxy, install it from the above link then go to:
    
    Start
    Programs
    Acrilic DNS Proxy
    Config
    Edit Custom Hosts File
    Add the folowing lines on the end of the file:
    
    127.0.0.1 *.localhost
    127.0.0.1 *.local
    127.0.0.1 *.lc
    Restart the Acrilic DNS Proxy service:
    
    Start
    Programs
    Acrilic DNS Proxy
    Config
    Restart Acrilic Service
    You will also need to adjust your DNS setting in you network interface settings:
    
    Start
    Control Panel
    Network and Internet
    Network Connections
    Local Area Connection Properties
    TCP/IPv4
    Set "Use the following DNS server address":
    
    Preferred DNS Server: 127.0.0.1
    
    
    Thanked by 1TheKiller
  • I'd suggest setting up an unbound instance with a custom block list.

  • imagineimagine Member
    edited August 2015

    How about OpenDNS for home use?

    Edit: At OpenDNS, if you block a domain, it assumes you want a wildcard block... so enter example.com, and it'll block *.example.com. Source.

  • shovenoseshovenose Member, Host Rep

    Opendns

  • HxxxHxxx Member

    Search for K9 software. Is free for personal use. There is nothing more effective for windows. It also covers https.

  • timnboystimnboys Member
    edited August 2015

    Try using dansguardian and some custom iptables rules as your main gateway it worked well for me before I got wfilter enterprise.
    or try this: http://www.smoothwall.org/about/express-feature-list/
    or try untangle free(I used to use it until they got too expensive to filter both https and http)

  • To piggyback off the wildcard subdomain question:

    How do I block a whole "family" of websites that have the same IP? For example, SBNation has 300+ distinct domains as part of their "family" of sites, and most seem to use the following IPs:

    216.146.46.11
    216.146.46.10

  • @boxelder said:
    To piggyback off the wildcard subdomain question:

    How do I block a whole "family" of websites that have the same IP? For example, SBNation has 300+ distinct domains as part of their "family" of sites, and most seem to use the following IPs:

    216.146.46.11
    216.146.46.10

    first let me ask what filtering software are you using?
    as every filtering software has different ways of doing this.

  • @timnboys
    I do everything via the hosts file currently on both Mac & PC, sounds like that won't be enough for this instance.

  • @boxelder said:
    timnboys
    I do everything via the hosts file currently on both Mac & PC, sounds like that won't be enough for this instance.

    try using dansguardian as your web gateway(or router) and see if that helps or if you have a spare windows machine you can use wfilter free(I use wfilter enterprise I paid for because it has more features like tieing into my home active directory.)
    Wfilter Free
    there is the link to wfilter free above.

    Thanked by 1boxelder
Sign In or Register to comment.