Re: Smoothwall may not be forwarding port 80
- From: Ansgar -59cobalt- Wiechers <usenet-2006@xxxxxxxxxxxxxxxx>
- Date: 25 Jun 2006 17:07:57 GMT
martin.woolley@xxxxxxxxx wrote:
I'm not sure if this is a smoothie problem or not. We have smoothwall
express 2.0 (fixes 7). On the red interface is an adsl router. On
the orange interface is a hub with m/cs 172.24.0.x. We've setup port
forwarding, port 22 to go to 172.24.0.19 and port 80 to 172.24.0.18.
If I ssh to the i/p address given to us by our isp, I get to the "19"
machine (file repository). However if I use a web browswer to access
the i/p address I get a 504 error. If I logon to the "18" machine
(web server), fire up a web browser and access localhost, up pops the
web pages, so we know the the httpd daemon is running on the "18" box.
If I nmap the i/p address from the outside world I see
PORT STATE SERVICE
22/tcp open ssh
80/tcp filtered http
which probably explains why the web site doesn't appear. There is no
firewall on the webserver (iptables has no rules). Any ideas as to
where we look to resolve the problem?
I'd suggest a systematic approach. The nmap result and the "Gateway
Timeout" error suggest IMHO that either some router on your LAN is
dropping the packets, or that the forwarding does not work correctly.
1. Check on which interfaces it's listening (netstat -ntl) to make sure
it's accessible on the public interface.
2. Check the actual packet filter configuration (iptables -nL,
iptables -t nat -nL, iptables -t mangle -nL) to make sure that it's
really not the packet filter on the host itself. Keep the default
policies in mind!
3. Make a portscan from a host on the same network segment to check
whether access from some other host is possible at all.
4. Check the configuration of any router/firewall between the web server
and your border router.
5. Check the router/firewall configuration (port forwarding as well as
filtering rules).
6. Check your private DNS config. Maybe it's an internal name resolution
issue.
I did try connecting another box on the network and running ethereal
on it but this showed no packets, even when I did a successful ssh
session; clearly ethereal is either lying or not capturing any
packets.
I'd suspect that you made some mistake there, because ethereal should at
least show the outgoing packets, even if there are no replies.
cu
59cobalt
--
"All vulnerabilities deserve a public fear period prior to patches
becoming available."
--Jason Coombs on Bugtraq
.
- References:
- Smoothwall may not be forwarding port 80
- From: martin . woolley
- Smoothwall may not be forwarding port 80
- Prev by Date: Re: not listening
- Next by Date: Re: not listening
- Previous by thread: Smoothwall may not be forwarding port 80
- Next by thread: Re: Smoothwall may not be forwarding port 80
- Index(es):
Relevant Pages
|