Block all websites on NAT exclude one or two

Posted on 2004-04-08
Medium Priority
Last Modified: 2009-12-16
I configured NAT & Squid on redhat 9. Our requirement is dont allow browsing all sites, I want to enable browsing for one or two websites only on clients PC's..  In squid i can able to block the websites whatever we want. Blocking of all website is infinet... so kindly help,
Let me know how to block all websites excluding few...

Question by:cashok23
LVL 17

Accepted Solution

owensleftfoot earned 252 total points
ID: 10789748
Have a look at http://dansguardian.org/ Its a redirector for squid which does content filtering etc. It also supports a whitelist, ie you provide the sites you want your users to be able to access. Everything else is blocked.
LVL 12

Assisted Solution

mburdick earned 248 total points
ID: 10791074
Dansguardian is a fine product. It costs money if you are using it at a company, however.

If you want to avoid licensing costs, add SquidGuard to your Squid system.

You will configure Squid to use SquidGuard as its redirector, and you will be able to define lists of specific sites that people will be allowed to access. You will be able to require people to use a site name (no connecting directly to IP's) if you wish, and can block/allow based on many parameters including IP Address (source), site (destination), time of day, etc.

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
If you are looking for an automated tool which can generate reports for Outlook emails and other items from PST file, then you can go for Kernel PST Reporter tool. The reports which are created by this tool are helpful to analyze and understand PST …

627 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question