nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Squid Proxy Allow Single Host And Site ACL

This is a discussion on Squid Proxy Allow Single Host And Site ACL within the Proxy Servers forums, part of the Mastering Servers category; Hi, Is there any possibility that i could allow a single site against a single IP? Regards...


Go Back   nixCraft Linux Forum > Mastering Servers > Proxy Servers

Linux answers from nixCraft.


Proxy Servers Discussion about UNIX / Linux caching proxy servers, web proxy, reverse / content filtering proxy server.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-12-2009, 06:37 PM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
Default Squid Proxy Allow Single Host And Site ACL

Hi,

Is there any possibility that i could allow a single site against a single IP?


Regards
Reply With Quote
  #2 (permalink)  
Old 12-12-2009, 06:57 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Are you talking about Apache or Squid?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 12-12-2009, 08:29 PM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
Default

I'm talking about SQUID
Reply With Quote
  #4 (permalink)  
Old 24-12-2009, 04:36 PM
Junior Member
User
 
Join Date: Dec 2009
OS: Cent OS
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
johndaz is on a distinguished road
Default single IP single site

Hi ,

I think for a single IP its not possible as we can not make a group a single machine in subneting ..you can use 192.168.x.x/30 ..but it also includes 2 systems atleast...

so make a group accordingly and block accordingly...

John
Reply With Quote
  #5 (permalink)  
Old 24-12-2009, 07:01 PM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
Default

Please describer how??
Reply With Quote
  #6 (permalink)  
Old 25-12-2009, 10:55 AM
kumarat9pm's Avatar
Senior Member
User
 
Join Date: Jun 2007
Location: Pune,MH,India
OS: RHEL,UBUNTU..
Posts: 447
Thanks: 20
Thanked 20 Times in 18 Posts
Rep Power: 5
kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about kumarat9pm has a spectacular aura about
Send a message via Yahoo to kumarat9pm Send a message via Skype™ to kumarat9pm
Default

Hay can you be more specific?

do you want to block/allow only single site to a single ip or what?
__________________
Thanks,
Surendra Kumar Anne
Ubuntu: Simple, Stylish and Striking..!
Linux: Fast, friendly, flexible and .... free!
Support Open source.
Reply With Quote
  #7 (permalink)  
Old 26-12-2009, 12:39 AM
Senior Member
User
 
Join Date: Jul 2006
Posts: 145
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 4
asim.mcp is on a distinguished road
Default

I want to allow a single site against a single IP address. But this should not affect on other subnets which are allowed for everything.
Reply With Quote
  #8 (permalink)  
Old 05-01-2010, 10:04 AM
Junior Member
User
 
Join Date: Nov 2009
OS: CentOS
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
harshana is on a distinguished road
Wink try this it should work

acl yahoo dstdomain Yahoo!
acl allowip src 192.168.0.15

http_access allow allowip yahoo
http_access deny yahoo all
Reply With Quote
Reply

Tags
linux , proxy , squid , squid acl , squid allow site , squid block site , unix


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Ubuntu Squid Proxy Configuration File /etc/squid/squid.conf rupalit Ubuntu / Debian 2 17-07-2009 02:50 PM
Allow specific web site in squid janali CentOS / RHEL / Fedora 0 23-07-2008 01:07 PM
site responding slow via linux proxy yogeshmalik77 CentOS / RHEL / Fedora 2 15-05-2008 12:48 PM
Restrict number of simultaneous proxy connections in SQUID proxy pkvmreddy Getting started tutorials 1 15-06-2007 03:52 PM
Squid Proxy bubloob_13 Linux software 4 03-12-2006 11:26 PM


All times are GMT +5.5. The time now is 09:27 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38