Skip to contentSkip to conversation

Redirection

DISCUSSION Sasa Stupar 2 participants 4 messages Feb 27, 2004 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 7 lines · Sasa Stupar

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?

http://en.tldp.org/HOWTO/TransparentProxy-6.html

Antony.

Signature · 6 lines
Having been asked for a reference for this man,
I can confirm that you will be very lucky indeed if you can get him to work 
for you.

                                                     Please reply to the list;
                                                           please don't CC me.
#3 lore raw
In reply to a message not in the archive

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

Thanx,
Sasa

Tomasz Macioszek pravi:

Quoted 31 lines

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

Tomek

----- Original Message -----
From: "Sasa Stupar" <[email protected]>
To: "Netfilter-List" <[email protected]>
Sent: Friday, February 27, 2004 1:08 PM
Subject: Redirection

Quoted 13 lines

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

#4 lore raw

Nevermind, I have solved the issue...I didn't configure the squid right. Now it is working.

Thank you all for the help,
Sasa