Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-08-2004, 12:26 AM   #1
LQ Newbie
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Rep: Reputation: 0
Squid Access Control

I would like to restrict my squid server to only take requests from 1 ip. I want it to block all other addresses from using the server. Is this possible, and if so, how can I do this?

Old 08-08-2004, 02:19 AM   #2
Registered: Jul 2004
Distribution: OpenBSD 3.5
Posts: 89

Rep: Reputation: 15
okay, in the section that has the acls add:

acl allowed_computer src # use own ip here

Then find the area that says:

http_access deny all

make sure it is uncommented and change it to:

http_access deny all !allowed_computer.

That should work.
Old 09-02-2004, 08:42 PM   #3
LQ Newbie
Registered: Aug 2004
Distribution: Shrike & Tettnang
Posts: 18

Original Poster
Rep: Reputation: 0
thanks -- I eventually figured it out though


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
Day Specific Access control for Squid Bobbychat Linux - Networking 2 04-04-2011 11:58 AM
Squid Access Control Lists Basics Palula Linux - Software 1 11-22-2005 06:29 PM
squid traffic control tarak4u Linux - Networking 0 03-17-2004 03:52 AM
squid control hquinlan Linux - Newbie 0 12-12-2002 08:29 AM
Squid Access Control aaronsols Linux - Networking 1 09-30-2002 06:36 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration