Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Unable to Surf by IP when using Squid as a transparent Proxy

Posted on 2007-12-03
9
Medium Priority
?
544 Views
Last Modified: 2013-12-23
I have a couple of different offices that use Linux boxes as combined routers and transparent proxies.  All of them are working fine, apart from one which is having a weird issue when attempting to view a web page via IP.  Using this website as an example, if I surf to;

http://www.experts-exchange.com

It works fine.

However, if I surf to;

http://64.156.132.140

It will immediately drop me to a standard 'page cannot be displayed' message.

If I bypass the transparent proxy, say by trying to load the page on the router itself, it works fine, so I don't believe it is an ISP issue.

My other locations using seemingly identically configured proxies can access pages by IP fine.
0
Comment
Question by:ropetin
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
9 Comments
 
LVL 22

Expert Comment

by:robocat
ID: 20397732


Can you see your attempt in the squid logs (access.log, store.log) ?
0
 
LVL 2

Author Comment

by:ropetin
ID: 20398148
No, the page view attempts do not show up in either log file.
0
 
LVL 43

Expert Comment

by:ravenpl
ID: 20398218
You see, if squid is configured in transparent mode it have to know where You really want to go. It uses the name You enter into browser as destination.
If You enter ip, and therefore there;s no Host: http/1.1 request header, squid does not know where to go? It have to drop it.
0
The Ideal Solution for Multi-Display Applications

Check out ATEN’s VS1912 12-Port DP Video Wall Media Player at InfoComm 2017. Kerri describes how easy it is to design creative video walls in asymmetric layouts and schedule detailed playlists ahead of time with its advanced scheduling feature.

 
LVL 2

Author Comment

by:ropetin
ID: 20398344
So the question I have is, why do 6 seemingly identically configured squid proxies, seem to not  have a problem?
0
 
LVL 22

Expert Comment

by:robocat
ID: 20398379

How do you redirect the traffic to the transparent proxy ? Switch ? Router ?
0
 
LVL 2

Author Comment

by:ropetin
ID: 20398413
The box that is running the squid proxy is the router.  I have the users connected via a generic workgroup switch.
0
 
LVL 22

Expert Comment

by:robocat
ID: 20398507

Have you compared the router (redirection) settings with the other 6 proxies ?

Perhaps you should look at what kind of logging you can enable on router level ?

0
 
LVL 2

Author Comment

by:ropetin
ID: 20403260
By router settings you mean the iptables configuration?  I don't 100% understand iptables, but I don't see anything that would make it drop unresolved IPs.  Any suggestion how I can verify?
0
 
LVL 5

Accepted Solution

by:
Jozk0 earned 2000 total points
ID: 20416437
This might be a browser specific issue. Look here:

http://www.visolve.com/squid/whitepapers/trans_caching.php

Go down to the section "Disadvantages of Transparent Caching"
0

Featured Post

Portable, direct connect server access

The ATEN CV211 connects a laptop directly to any server allowing you instant access to perform data maintenance and local operations, for quick troubleshooting, updating, service and repair.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
This month, Experts Exchange’s free Course of the Month is focused on CompTIA IT Fundamentals.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Suggested Courses

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question