httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harry Patterson" <ha...@visiontm.com>
Subject [users@httpd] apache not responding to firewall routed ports
Date Sun, 12 Sep 2004 18:00:32 GMT
I'm sure I am missing something obvious here, but I cannot get my apache
server to respond to requests that are routed through our firewall. I have
provided some pertinent info below, if you need more let me know.

The firewall forwards all port 8080 request for IP 216.49.170.99 to an
internal address 192.168.2.204 also on port 8080. Apache responds fine using
the internal address on an internal computer (same subnet). When using an
external computer going to the external address, I can see the packets
coming in to the server using tcpdump. As expected their destination is
192.168.2.204 and the .8080 shows they are coming in to port 8080. But I get
a "Cannot find Server" error in the browser. There are no errors recorded in
the apache logs. So why isn't it accepting those requests?

Any help would be appreciated.
Harry
============================

Apache/1.3.3 on FreeBSD UNIX

In a browser from internet outside the firewall from address 69.68.223.8:

  http://216.49.170.99:8080/
  times out  - Cannot find server error
  no entry in apache error log or access log

In Firewall Setup :
  216.49.170.99 port 8080 forwards to 192.168.2.204 port 8080

TCPDUMP on server:
  while attempting to access 216.49.170.99:8080  from Internet  (lines
wrapped for readability)

  webserver# tcpdump -t -n -vv port 8080
  tcpdump: listening on ed0
  69.68.223.8.16572 > 192.168.2.204.8080: S 3490321463:3490321463(0) win
65535
     <mss 1302,nop,nop,sackOK> (DF) (ttl 108, id 21905)
  69.68.223.8.16572 > 192.168.2.204.8080: S 3490321463:3490321463(0) win
65535
     <mss 1302,nop,nop,sackOK> (DF) (ttl 108, id 21908)
  69.68.223.8.16572 > 192.168.2.204.8080: S 3490321463:3490321463(0) win
65535
      <mss 1302,nop,nop,sackOK> (DF) (ttl 108, id 21910)

In Browser from internal 192 address:

  http://192.168.2.204:8080
  connects and serves homepage

In httpd.conf:

  NameVirtualHost 192.168.2.204
  Listen 80
  Listen 8080

  <VirtualHost 192.168.2.204>
  ServerName www.frippcorp.com
  ServerAlias test.frippcorp.com frippcorp.com
  DocumentRoot /usr/home/harry/public_html
  ErrorLog /var/log/192-error_log
  TransferLog /var/log/192-access_log
  LogFormat "%h %l %u %t \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\""
  ScriptAlias /sys-cgi/ /usr/home/cgi-bin/
  ScriptAlias /cgi-bin/ /usr/home/harry/public_html/cgi-bin/
  </VirtualHost>
  <Directory /usr/home/harry/public_html>
  AllowOverride All
  </Directory>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message