LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-21-2009, 02:48 PM   #1
mervs00024
LQ Newbie
 
Registered: Jun 2008
Posts: 12

Rep: Reputation: 0
how to work the squid properly


hello i am a newbie in linux.
my problem is here, we have an internet connection in our house with 10 users connected through a dsl connection, our dsl router stand as dhcp with internal ip 192.168.1.xx
i set up linux and installed squid with no problem i configure squid to block some unnecessary websites i include this in squid.conf

acl blocksites url_regex "/etc/squid/squid-blocksite.acl"
http_access deny blocksites

and under the squid-blocksites.acl
i put for example
.yahoo.com
.youtube.com
sex

but suddenly i can still browse the site.

can someone help me on this.


thanks a lot.
 
Old 09-21-2009, 03:15 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by mervs00024 View Post
hello i am a newbie in linux.
my problem is here, we have an internet connection in our house with 10 users connected through a dsl connection, our dsl router stand as dhcp with internal ip 192.168.1.xx
i set up linux and installed squid with no problem i configure squid to block some unnecessary websites i include this in squid.conf

acl blocksites url_regex "/etc/squid/squid-blocksite.acl"
http_access deny blocksites

and under the squid-blocksites.acl
i put for example
.yahoo.com
.youtube.com
sex

but suddenly i can still browse the site.

can someone help me on this.

thanks a lot.
Has nothing to do with squid, probably. Unless you put two NIC's into your squid server, and set it between your DSL modem and your router, anyone can bypass it. The DHCP address they get sets the default router and options to go to the router, not through the squid box.

Go onto the clients, and set the proxy server settings to point to your squid server. But again, unless you filter everything through it, it's pointless. You don't say how your internal network is set up, what OS your clients run, or the configs on your squid system...
 
Old 09-22-2009, 03:48 AM   #3
mervs00024
LQ Newbie
 
Registered: Jun 2008
Posts: 12

Original Poster
Rep: Reputation: 0
We are all directly connected to our dsl modem/router clients are windows xp and windows vista. we get our internal ip from dsl router.thanks for the reply mr. Tbone, appreciate what you said.i thought i can bypass the internet connection of my clients going to my squid server setup just like my setup.thanks a lot for the info.
 
  


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
[SOLVED] Squid+DansGuardian not working properly. squid blocking sites that should be linuxlover.chaitanya Linux - Server 13 11-10-2014 11:34 AM
DNS lookup doesn't work, ping, firefox will not work properly lovemov Linux - Networking 2 04-23-2009 03:30 PM
Squid.conf configuration for http_access not working properly nandagopalrvarma Linux - Server 9 03-03-2009 12:43 AM
Gui doesn't work properly Goudvis Linux - Laptop and Netbook 2 02-27-2009 04:24 PM
Will this laptop work properly? bladexp210 Linux - Laptop and Netbook 7 05-24-2007 03:04 PM


All times are GMT -5. The time now is 04:22 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration