Re: [squid-users] Re: Squid Reverse Proxy cannot open ports

From: Antony Stone <Antony.Stone_at_squid.open.source.it>
Date: Wed, 17 Jul 2013 11:54:25 +0200

On Wednesday 17 July 2013 at 11:47:47, jc.yin wrote:

> Okay I'm assuming that, after seeing this, my public ip hasn't been
> properly set up with the local server? Should inet addr be my public IP?

Yes.

> eth0 Link encap:Ethernet HWaddr c4:2c:03:21:ca:80
> inet addr:192.168.1.45 Bcast:192.168.1.255 Mask:255.255.255.0

From where I'm sitting, however, something *is* listening on port 22 (SSH) on
the public IP you gave earlier, so either:

 - this machine is behind a firewall which is doing destination network address
translation from the public IP (on the firewall) to the private IP (above), and
therefore you need to make sure the firewall is forwarding packets on port 80
as well, and then bind the address above to Squid instead of the public IP

or

 - some other machine has that public IP on it and is listening on port 22
(SSH), in which case you need to get a network diagram and work out what's
where...

Regards,

Antony.

-- 
If the human brain were so simple that we could understand it,
we'd be so simple that we couldn't.
                                                     Please reply to the list;
                                                           please don't CC me.
Received on Wed Jul 17 2013 - 09:54:41 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 17 2013 - 12:00:19 MDT