LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 04-12-2007, 03:05 AM   #1
klmn1
Member
 
Registered: Nov 2002
Location: Malaysia
Posts: 36

Rep: Reputation: 15
Squid help require - allowing internet access


Hi there,

I am right now configuring Squid as my proxy server and I would only want to allow 15 out of 35 computers in our LAN to access the Internet.

My doubt here, the 15 computers IP addresses are in random order and we have the LAN on DHCP. With this how should I include the 15 random IPs into the internet allowed syntax and the other IPs will be automatically rejected?

Thanks
Law
 
Old 04-12-2007, 07:34 AM   #2
carl0ski
Member
 
Registered: Sep 2004
Location: Melbourne, Victoria Australia
Distribution: Support those that support you :)
Posts: 872
Blog Entries: 12

Rep: Reputation: 30
Quote:
Originally Posted by klmn1
Hi there,

I am right now configuring Squid as my proxy server and I would only want to allow 15 out of 35 computers in our LAN to access the Internet.

My doubt here, the 15 computers IP addresses are in random order and we have the LAN on DHCP. With this how should I include the 15 random IPs into the internet allowed syntax and the other IPs will be automatically rejected?

Thanks
Law
Squid Supports creating rules based on a computers hostname as well and IP address

IP keep changing? use the hostname.

Download and install Webmin on the squid server to make configuring it easier.

manual example John Me cant use net
Jake Jill can
Code:
acl BadHostname srcdomain john me
acl goodHostnames srcdomain Jake Jill

Code:
http_access deny all BadHostname
http_access allow all goodHostnames
 
  


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
Allowing Internal Servers to access internet Swakoo Linux - Networking 6 04-20-2007 11:23 PM
blocking specific websites, but allowing internet access poiuytrewq Linux - General 6 09-01-2006 12:45 AM
How to allow only Squid to access the internet? varange Linux - Networking 6 12-09-2005 02:24 AM
Allowing only certain ip ranges to access squid Menestrel Linux - Networking 2 06-16-2005 05:10 PM
Debian that does NOT require internet access to install. Lechium Linux - Newbie 3 07-29-2004 07:37 AM


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