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

This is a discussion on RE: [squid-users] question about Forcing proxy. within the Squid Users forums, part of the Web Server and Related Forums category; Hi Jason, Did you enable ip_forwarding in your linux kernel. check by "cat /etc/sys/net/ipv4/ip_forward", ...


Go Back   Usenet Forums > Web Server and Related Forums > Squid Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-02-2003
Wei Ming Long
 
Posts: n/a
Default 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

Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:55 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0