LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-03-2011, 02:49 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
How to add more than one IP range in squid.conf ?


I am going to configure squid in my linux box.I have different kinds of ranges in my office.The default is as under

Code:
acl our_networks src 192.168.1.0/24 192.168.2.0/24
http_access allow our_networks
can I add my own ranges as

Code:
acl our_networks src 10.1.60.0/24 10.1.70.0/24 10.0.80.0/24 10.1.90.0/24 10.1.100.0./24
http_access allow our_networks
we have divided according to floors ,like 1st floor ip range is 10.1.60.0 2nd floor 10.1.70.0 ,third 10.1.80.0 and so on. All IP ping each others successfully.I only need help is it the correct way to add ranges in squid which i do ?
need guidance
garden
 
Old 03-03-2011, 03:33 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Yeah, that should work fine (assuming you don't need the granularity provided by using separate ACLs for each floor). You're only likely to run into issues if you use complicated netmasks.

Last edited by win32sux; 03-03-2011 at 04:07 AM. Reason: Spelling.
 
Old 03-03-2011, 11:06 AM   #3
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Thanks for the reply.well i have configured squid with minimum configuration.internet works on the system but the client machine does not show any browsing.yes it ping with the proxy server.
I am fail to know why the clients not show any browsing,even in the IE i gave proxy server ip and port as 8080.
Kindly guide me how can i fix my issue?
 
Old 03-04-2011, 05:43 AM   #4
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
What does the Squid access log show?
 
  


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
What should I add into my xorg.conf file to add a resolution? gannggstaz Linux - Desktop 2 09-30-2009 06:06 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard laxmantsharma Linux - Software 1 02-24-2009 06:02 AM
xorg.conf -> Out of Range(HF).... trip_3c Linux - Newbie 6 07-12-2007 10:32 PM
need examples of squid.conf & dansguardian.conf jocast Linux - Software 1 05-11-2006 04:47 PM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:28 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