LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 03-14-2006, 06:08 AM   #1
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Rep: Reputation: 30
Lightbulb About SquidGuard


Friends ,

I have two pc . One is Linux Enterprise 4 Server and other is WindowsXP . Now I configure the Following things in My Linux server :

1) Squid
2)SquidGuard
3)http
My Webserver name is : shipon.example.com , When i write it into a browser it opens a page which i created as "index.html"

Now i want , Nobody can access my webserver page "shipon.example.com" from my Windows Machine .

For this reason i install SquidGuard and Blacklists . In Blacklists i found a lot of folder like Porn,Mail etc . I can't understand in which folder/file , i need to write my webpage address , so that i can't get access from my Windows pc. my squidGuard.conf file is :

dbhome /usr/local/squidGuard/db
logdir /usr/local/squidGuard/logs

dest porn {
domainlist blacklists/porn/domains
urllist blacklists/porn/urls
}

acl {
default {
pass !porn all
redirect http://localhost/block.html
}
}


Plz plz help........
 
Old 03-14-2006, 07:34 AM   #2
nixcraft
Member
 
Registered: Nov 2004
Location: BIOS
Distribution: RHEL3.0, FreeBSD 5.x, Debian 3.x, Soaris x86 v10
Posts: 379

Rep: Reputation: 30
LOL

use iptables to block access to port 80 and not squidGurad see how to write iptables rule to open or block port 80 http://www.cyberciti.biz/nixcraft/vi...k-or-open.html
 
Old 03-14-2006, 09:27 AM   #3
shipon_97
Member
 
Registered: Oct 2005
Location: Bangladesh
Posts: 447

Original Poster
Rep: Reputation: 30
Friends,

Actually i already configured "SquidGuard" . As i have no real
internet server , so i need to test my "SquidGuard" Configuration in this way. So i want to know how i can test my SquidGuard Configuration or how i can understand so that it works properly ?

thx...........
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
error: mail command failed for /var/log/squidguard/squidGuard.log.6 Niceman2005 Linux - Networking 1 01-22-2009 01:24 PM
Squidguard sanjibgupta Linux - Security 1 09-26-2005 01:47 AM
squidguard metallica1973 Linux - Security 5 05-24-2005 09:24 AM
squidGuard hariiyer Linux - Networking 4 12-21-2004 02:29 AM
squidguard ? maxut Fedora 1 05-10-2004 04:12 AM


All times are GMT -5. The time now is 11:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration