LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-08-2010, 01:20 AM   #1
ridwan77
LQ Newbie
 
Registered: Mar 2006
Posts: 29

Rep: Reputation: 15
ipbased user access control bysquidGuard


Hello there !

I'm using squid for proxy server in FC6. I'm also using squidGuard for web-site access restriction. I want to do some exception now for website access. My network ip block is 192.168.7.0/24 and facebook.com is restricted for all with squidGuard, but i want to allow facebook.com only in 192.168.7.51/32.

my squidGuard.conf file looks like bellow

################################################################################
dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/log

dest porn
{
domainlist porn/domains
urllist porn/urls
redirect http://localhost/restrict/test.html
}

dest adult
{
domainlist adult/domains
urllist adult/urls
redirect http://localhost/restrict/test.html
}

dest edited
{
domainlist edited/domains
urllist edited/urls
redirect http://localhost/restrict/test.html
}

acl {

default {
pass !porn !adult !edited all
redirect http://localhost/restrict/test.html
}
}
######################################################################


Is it possible? I thinks it is...
can anyone help me out plzzzzzzzzzzzzz????????
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
User access control to internet persy Linux - Server 1 09-29-2010 06:06 AM
NFS access control for particular user basavaraju.sg Linux - Newbie 2 08-05-2008 12:35 AM
vsftp user access control icoming Linux - Software 2 12-02-2006 01:06 PM
control user access ust Linux - General 1 06-07-2005 08:05 AM
user access control Risc91 AIX 11 06-17-2004 05:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration