Re: [squid-users] squid transparent proxy

From: <dhottinger@dont-contact.us>
Date: Thu, 03 Apr 2008 08:20:58 -0400

Quoting "Wennie V. Lagmay" <wlagmay@yanbulink.net>:

> Hi,
>
> You are right I am using port 8080. As I mentioned I have 2 machine
> the 1st machine is my Firewall/NAT server wherein the iptables
> configuration already stated that it should redirect port 80 to 8080
>
> iptables -t nat -A PREROUTING -s 192.168.10.0/255.255.255.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.11.0/255.255.255.0 -p
> tcp -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.12.0/255.255.255.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.14.0/255.255.255.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.15.0/255.255.255.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.16.0/255.255.255.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.24.0/255.255.248.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.64.0/255.255.224.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080
> iptables -t nat -A PREROUTING -s 192.168.96.0/255.255.224.0 -p tcp
> -m tcp --dport 80 -j REDIRECT --to-ports 8080

Are you sure that you have your squid.conf set to listen on port 8080
and not the default of port 3128? I run transparent on port 8080 with
redirect from 80 to 8080 with no issues.

ddh

-- 
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
"Everything should be made as simple as possible, but not simpler."
-- Albert Einstein
Received on Thu Apr 03 2008 - 06:21:05 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT