Hi all,
I have my own apache web server with a public IP address on the same subnet
as our transparent squid (Redhat 6.2 box) running at my workplace.
The problem is I can not reach my site from my workplace.
There isn't any entries in access.log stating I tried to reach that URL and
Squid does not send any error message to
find out what is the problem.
When I login on the linux box using ssh I can reach my site using lynx or
wget.
Incoming http requests are redirected to port 3128 using ipchains.
#Accept all on loopback
IPCHAINS -A input -j ACCEPT -i lo
#Accept my own IP, to prevent loops (repeat for each interface/alias)
IPCHAINS -A input -j ACCEPT -p tcp -d $INTERNALIP 80
IPCHAINS -A input -j ACCEPT -p tcp -d $OUTERIP 80
IPCHAINS -A input -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 80 -j REDIRECT 3128
When I turned on logging of port redirection
IPCHAINS -A input -p tcp -s 0.0.0.0/0 -d 0.0.0.0/0 80 -j REDIRECT 3128 -l
I have entries in /var/log/maillog so my request to reach the site is
redirected to squid.
Aug 6 10:26:08 anyhost kernel: Packet log: input REDIRECT 3128 eth1 PROTO=6
192.168.27.145:3119 DESTINATION:80 L=48 S=0x00 I=27703 F=0x4000 T=128 SYN
(#33)
Is there a way to solve this ?
Thank you
Zoltan Sutto
Received on Tue Aug 06 2002 - 04:34:37 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:31 MST