LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-28-2003, 01:48 PM   #1
MarleyGPN
Member
 
Registered: Apr 2003
Location: Vail, CO
Posts: 73

Rep: Reputation: 15
Squid with Transparent Proxy


I am tring to use squid to cache information from websites. It works fine when I configure it in the web browser setting manualy, but I would like it to work without haveing to set the web browsers. I used this command

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 3128

So that it forces anything going though port 80 to go though the proxy. For some strange reson when I do this it leave out the domain when I try to connect to websites.

This is basicly what I get.

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: /isapi/redir.dll?prd=ie&pver=6&ar=msnhome

The following error was encountered:

Invalid URL
Some aspect of the requested URL is incorrect. Possible problems:

Missing or incorrect access protocol (should be `http://'' or similar)
Missing hostname
Illegal double-escape in the URL-Path
Illegal character in hostname; underscores are not allowed
Your cache administrator is webmaster.



--------------------------------------------------------------------------------

Generated Thu, 28 Aug 2003 14:43:20 GMT by Kizaki.GPN (squid/2.5.STABLE3)

in this case it was a microsoft site I was tring to connect to and it left out www.microsoft.com

"/isapi/redir.dll?prd=ie&pver=6&ar=msnhome"
 
Old 08-28-2003, 02:51 PM   #2
Dr.Lun
LQ Newbie
 
Registered: Apr 2003
Posts: 13

Rep: Reputation: 0
I had same problem and didn't solved it. I used dansGuardian with squid.

Temporarly I pointed dansGuardian to another proxy but hope to see anwser in this thread.
 
  


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
WCCP and Transparent Proxy with Squid tech-ninja Linux - Networking 4 03-29-2005 10:25 AM
transparent squid proxy server alvi2 Linux - Networking 4 02-24-2005 01:18 PM
Squid as a transparent proxy kemplej Linux - Software 2 12-08-2004 05:00 PM
Squid Transparent Proxy 1jamie Linux - Security 7 09-26-2003 06:09 AM
squid transparent proxy...... hitesh_linux Linux - Networking 1 06-13-2003 03:24 AM

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

All times are GMT -5. The time now is 10:15 AM.

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