Solved

Block all websites on NAT exclude one or two

Posted on 2004-04-08
4
244 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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