Koozali.org: home of the SME Server

help to config squid

Offline mgb

  • *****
  • 558
  • +0/-0
help to config squid
« on: June 11, 2011, 03:41:09 PM »
I would like to config
the rule
# Define the files with the Web Address
1. acl   deny-Sites    url_regex   -i   "/etc/squid/Acl-Files/Deny-Sites"
2. acl   allow_Sites   url_regex   -i   "/etc/squid/Acl-Files/Allow-sites"
3. acl   Open_4_all   url_regex  -i   "/etc/squid/Acl-Files/Open4all-Sites"

# Define the clients lists
4. acl   My_Net_1   src 192.168.1.0/255.255.255.0
5. acl   Deny-Users   src "/etc/squid/Acl-Files/Deny-Users"
6. acl   all   src 0.0.0.0/0.0.0.0

# ACL Rules
7. http_access   allow   Open_4_all
8. http_access   deny   Deny-Users
9. http_access   allow   Allow-Sites   My_Net_1
10. http_access   deny   Deny-Sites
11. http_access   allow   My_Net_1
12. http_access   deny   all
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: help to config squid
« Reply #1 on: June 11, 2011, 10:48:46 PM »
mgb

This may help you get started
http://wiki.contribs.org/Template_Tutorial

For existing squid template fragments see
/etc/e-smith/templates/etc/squid/squid.conf

Refer tutorial for location of existing masq fragments
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: help to config squid
« Reply #2 on: June 13, 2011, 08:50:25 AM »
I am grateful for the quick reply

 I change the question
 I do not want to Using proxy
  Create Filter iptables ?
 Question
 Haym can perform
 Requirement
 Construction of two groups of users (ip
 Filtering of the Group 1 sites
 Group 2 without filter
 Thanks
 Example file
 I think he could make
 Not sure where to set the filter
Ideas are welcome
Thanks all for helping
Skype yosii2009

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: help to config squid
« Reply #3 on: June 14, 2011, 03:50:07 PM »
I do not want to Using proxy

Then you should disable the transparent proxy.

http://www.google.ca/search?q=site%3Acontribs.org+disable+transparent+proxy

I don't understand the rest of what you have said.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: help to config squid
« Reply #4 on: June 15, 2011, 12:19:55 AM »
I ask again and I'm sorry for bad english
Hope you understand the question
Description Status
200 Computers
One Network
There are two groups of network users
One group with no restrictions Browsing
A second group with disabilities surfing blocked sites on my list
All users connect to server 2003
LOGIN DONAIN level

SME Server 7.5 has
I want to perform the filtering sites

The group I can separate Even if the computer and it helps
Waiting for ideas
If you can do what the hardware requirements for computer-assisted screening
Width ADSL 1M/1M
There is a separate router can not be changed
Hope this is clear enough
Thank you
Thanks all for helping
Skype yosii2009

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: help to config squid
« Reply #5 on: June 15, 2011, 09:54:58 AM »
mgb

I suggest you use Dansguardian
http://wiki.contribs.org/Dansguardian


Also take a look at Wondershaper (to manage outgoing bandwidth only)
http://wiki.contribs.org/Wondershaper
There is also a contrib rpm in the smecontribs repo

yum install --enablerepo=smecontribs smeserver-htbwshaper
signal-event-post-upgrade
signal-event reboot

ie smeserver-htbwshaper    noarch     1.0-7.el4.sme
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mgb

  • *****
  • 558
  • +0/-0
Re: help to config squid
« Reply #6 on: June 15, 2011, 02:07:49 PM »
Thanks for the suggestion
 I use another server Dansguardian

 You can not separate the different groups
 Using the computer name
 In addition to over 70 computer system will not work quickly
 I ask if you can use
 Simple plan
 Routing computers surfing
 No filtering group
 Group with filtering
 Thanks to the rapid response time
 Sorry for english

« Last Edit: June 15, 2011, 03:53:27 PM by mgb »
Thanks all for helping
Skype yosii2009