From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasa Stupar Subject: Re: Redirection Date: Fri, 27 Feb 2004 13:41:30 +0100 Sender: netfilter-admin@lists.netfilter.org Message-ID: <403F3AFA.6010304@stupar.homelinux.net> References: <403F3336.4070400@stupar.homelinux.net> <008b01c3fd2b$f8910320$2a245cc2@cea05> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------090109010409060303010401" Return-path: In-Reply-To: <008b01c3fd2b$f8910320$2a245cc2@cea05> Errors-To: netfilter-admin@lists.netfilter.org List-Help: List-Post: List-Subscribe: , List-Id: List-Unsubscribe: , List-Archive: To: Tomasz Macioszek Cc: Netfilter-List This is a multi-part message in MIME format. --------------090109010409060303010401 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit OK, I have read it and apply it for me BUT now I have the case that some pages won't load. I get this error from squid: --------- ERROR The requested URL could not be retrieved ------------------------------------------------------------------------ While trying to retrieve the URL: /ssc/home.asp?j=1&langid=us&venid=sym&plfid=22&pkj=QZVTFIZTYMWPAZTJWUF 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 root . --------------------------------- I can't access a site like www.yahoo.com What could be the problem here? Thanx, Sasa Tomasz Macioszek pravi: >Hi >Read this howto: >http://en.tldp.org/HOWTO/TransparentProxy.html > >Tomek > >----- Original Message ----- >From: "Sasa Stupar" >To: "Netfilter-List" >Sent: Friday, February 27, 2004 1:08 PM >Subject: Redirection > > > > >>Hi! >> >>I have setup router with iptables. Now I have also setup a squid proxy >>server on another internal machine. What I want is to all http requests >>from internal LAN to send thru proxy. >>Since I am new to iptables I am asking here for some help. >>How can I do that? >> >>Thanks, >>Sasa >> >> >> >> >> > > > --------------090109010409060303010401 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit OK, I have read it and apply it for me BUT now I have the case that some pages won't load. I get this error from squid:
---------

ERROR

The requested URL could not be retrieved


While trying to retrieve the URL: /ssc/home.asp?j=1&langid=us&venid=sym&plfid=22&pkj=QZVTFIZTYMWPAZTJWUF

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 root.
---------------------------------
I can't access a site like www.yahoo.com
What could be the problem here?

Thanx,
Sasa



Tomasz Macioszek pravi:
Hi
Read this howto:
http://en.tldp.org/HOWTO/TransparentProxy.html

Tomek

----- Original Message ----- 
From: "Sasa Stupar" <sasa@stupar.homelinux.net>
To: "Netfilter-List" <netfilter@lists.netfilter.org>
Sent: Friday, February 27, 2004 1:08 PM
Subject: Redirection


  
Hi!

I have setup router with iptables. Now I have also setup a squid proxy 
server on another internal machine. What I want is to all http requests 
from internal LAN to send thru proxy.
Since I am new to iptables I am asking here for some help.
How can I do that?

Thanks,
Sasa



    

  

--------------090109010409060303010401--