Solved

Block all websites on NAT exclude one or two

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to add a new SAN disk to a linux vmware box 8 32
Help with Ubuntu 14.04 LTS 10 135
How does the STUN server helps discover the device public ip address 4 80
ifconfig 4 46
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…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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