LinuxQuestions.org
Review your favorite Linux distribution.
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 07-28-2004, 06:58 AM   #1
bahadur
Member
 
Registered: Apr 2004
Distribution: Linux Red Hat
Posts: 141

Rep: Reputation: 15
squid behind another squid


HI,

i am running squid as a demo to my teacher.

the problem is that my squid can access the internet through the the squid of our institute.

my system admins wont give me a global IP or let me bypass the institutue's squid.

so ok i ran this command and every thing seemed to be ok.

[root@NIIT158 root]# squid -N -d1
2004/07/29 05:37:19| Starting Squid Cache version 2.5.STABLE3 for i686-pc-linux-gnu...
2004/07/29 05:37:19| Process ID 3957
2004/07/29 05:37:19| With 1024 file descriptors available
2004/07/29 05:37:19| Performing DNS Tests...
2004/07/29 05:37:19| Successful DNS name lookup tests...
2004/07/29 05:37:19| DNS Socket created at 0.0.0.0, port 32770, FD 4
2004/07/29 05:37:19| Adding nameserver 10.10.10.1 from /etc/resolv.conf
2004/07/29 05:37:19| Adding nameserver 202.83.166.172 from /etc/resolv.conf
2004/07/29 05:37:19| Unlinkd pipe opened on FD 9
2004/07/29 05:37:19| Swap maxSize 102400 KB, estimated 7876 objects
2004/07/29 05:37:19| Target number of buckets: 393
2004/07/29 05:37:19| Using 8192 Store buckets
2004/07/29 05:37:19| Max Mem size: 8192 KB
2004/07/29 05:37:19| Max Swap size: 102400 KB
2004/07/29 05:37:19| Rebuilding storage in /var/spool/squid (DIRTY)
2004/07/29 05:37:19| Using Least Load store dir selection
2004/07/29 05:37:19| Current Directory is /root
2004/07/29 05:37:19| Loaded Icons.
2004/07/29 05:37:19| Accepting HTTP connections at 0.0.0.0, port 3128, FD 10.
2004/07/29 05:37:19| Accepting ICP messages at 0.0.0.0, port 3130, FD 11.
2004/07/29 05:37:19| WCCP Disabled.
2004/07/29 05:37:19| Ready to serve requests.
2004/07/29 05:37:41| Done scanning /var/spool/squid swaplog (0 entries)
2004/07/29 05:37:41| Finished rebuilding storage from disk.
2004/07/29 05:37:41| 0 Entries scanned
2004/07/29 05:37:41| 0 Invalid entries.
2004/07/29 05:37:41| 0 With invalid flags.
2004/07/29 05:37:41| 0 Objects loaded.
2004/07/29 05:37:41| 0 Objects expired.
2004/07/29 05:37:41| 0 Objects cancelled.
2004/07/29 05:37:41| 0 Duplicate URLs purged.
2004/07/29 05:37:41| 0 Swapfile clashes avoided.
2004/07/29 05:37:41| Took 22.6 seconds ( 0.0 objects/sec).
2004/07/29 05:37:41| Beginning Validation Procedure
2004/07/29 05:37:42| Completed Validation Procedure
2004/07/29 05:37:42| Validated 0 Entries
2004/07/29 05:37:42| store_swap_size = 0k
2004/07/29 05:37:42| storeLateRelease: released 0 objects


then i went on to a windows client and configured the browser to access the internet through my squid.

the result was

Connection failed

(113) No route to host

can any one tell me what is the problem . when i sit on the squid server and access the net it is ok cause ofcourse i dont go through my squid to access the internet. i connect directly to the internet through the institutue's squid.

so why is the client not being able to get access to web pages?
 
Old 07-28-2004, 07:08 AM   #2
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
cache_peer proxy.my_isp.net.tr parent 8080 3130
acl ISP_proxy src ip_of_isp_proxy
icp_access allow ISP_proxy --> i dont know if it is necessary

if i add these lines in my squid.conf i can use my ISP's proxy server trough my squid. maybe u need like that config.
 
  


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
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 03:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
I can't "service squid start" , and chkconfig squid on not working Niceman2005 Linux - Software 0 11-10-2004 08:18 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM

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

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