Solved

Block all websites on NAT exclude one or two

Posted on 2004-04-08
4
238 Views
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...



0
Comment
Question by:cashok23
4 Comments
 
LVL 17

Accepted Solution

by:
owensleftfoot earned 63 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.
0
 
LVL 12

Assisted Solution

by:mburdick
mburdick earned 62 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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Multicast - Linux 4 34
url shaping application 8 59
monitor and log every file access on redhat/linux 4 133
Set linux box as ip router 3 35
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

829 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