RE: [squid-users] question about Forcing proxy.

From: Jason Brashear <jason@dont-contact.us>
Date: Wed, 2 Jul 2003 19:18:17 -0500

Thank you all That worked, I configurd SQUID for tranparent Proxy and it is
now working like a champ!
Also do I need to port 443 to squid as well? or will squid get all HTTP
requests being told only to forward port 80?

Now how do I require a user name and password to access the web pages?

-----Original Message-----
From: Wei Ming Long [mailto:WEI_Ming_Long@dsi.a-star.edu.sg]
Sent: Wednesday, July 02, 2003 12:59 AM
To: jason@hostrocks.com; squid-users@squid-cache.org
Subject: RE: [squid-users] question about Forcing proxy.

Hi Jason,
Did you enable ip_forwarding in your linux kernel.
check by "cat /etc/sys/net/ipv4/ip_forward", if it's 0, then echo "1" >>
/etc/sys/net/ipv4/ip_forwarding.

Do read the doc on transparent proxy.

Cheers
Matthew

>>> "Jason Brashear" <jason@hostrocks.com> 07/02/03 10:16AM >>>
One more thing to add..

Also when I ad this line
to my firewall rules:
$IPTABLES -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j
REDIRECT --to-port 3128

I get this in my web browser:

ERROR
The requested URL could not be retrieved

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

----
While trying to retrieve the URL: /
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 jason@patriotconnect.com.
----------------------------------------------------------------------------
----
Generated Wed, 02 Jul 2003 02:13:53 GMT by firewall.hostrocks.com
(squid/2.5.STABLE1)
I have a system running SQUID with two nics.
One Public and one private.
The private issues a Dynamic IP address to the clients on the inside via
DHCP.
What I want to do is force all port 80 443 in bound traffic  to squid so
that
proxy occurs with out having to add a proxy server setting their browser.
Any ideas?
I know that I should be able to do this with IPTABLES.
I am running on RedHat 9.0 Also I hav esquid Guard installed and that seems
to really rock.
Please help!
Thank you,
-Jason Brashear
Received on Wed Jul 02 2003 - 18:17:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:48 MST