LinuxQuestions.org
Review your favorite Linux distribution.
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 09-13-2011, 07:35 AM   #1
ankitsagwekar
LQ Newbie
 
Registered: Feb 2007
Posts: 19

Rep: Reputation: 0
Question squid 3 and cache peer


i have one proxy server base on centos 6.0 which come with squid 3.1.4

server have two LAN ip address eth0 192.168.0.35
eth0:1 192.168.0.34
eth1 XXX.XXX.XXX.XXX WAN IP

i want to forward request to other proxy which is on internet (WAN IP)

so i create rule that if some proxy traffic come to ip 192.168.0.34 from internal network it get forward to wan proxy

if i get request to 192.168.0.35 from internal network. it process from local proxy which is on same server


i add this line in my squid.conf in squid 3.1.4 for this

http_port 3128
http_port 192.168.0.34:3120
acl external myip 192.168.0.34

cache_peer 173.208.xxx.xxx parent 25981 0 no-query no-digest
cache_peer_access 173.208.xxx.xxx allow external

this rule work fine on squid 2.7 but not work in squid 3-3.1

anybody have any idea what's wrong with this ?

i already check iptables so it's not firewall problem
 
  


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
Squid Cache-Peer Without Routing Possible or Not shahidmgh Red Hat 1 08-18-2010 03:16 AM
squid havp cache-peer Ammad Linux - General 1 10-29-2009 05:02 AM
Using Active directory Authentication of parent non-squid cache to child squid cache espiya7 Linux - Server 0 05-05-2009 08:04 AM
squid proxy restriction on peer-to-peer? (limewire) Teomari Slackware 3 03-29-2007 08:40 PM
Squid a peer-to-peer TheIrish Linux - Security 1 01-31-2005 05:31 AM


All times are GMT -5. The time now is 09:21 PM.

Main Menu
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