現象としては、internet側から見ることができない。LANからは見えている。dnsは引けている。internetからNATしたときは192.168.2.64へ、localは192.168.2.65になる。
NameVirtualHost
NameVirtualHost ディレクティブは、 名前ベースのバーチャルホストを 利用してリクエストを受け付ける IP アドレスを指定します。 これは、普通は名前ベースのバーチャルホストアドレスです。 ただし、ファイアーウォールや他のプロキシがリクエストを受け付け、 違う IP アドレスのサーバにフォワードするという場合は、 リクエストを提供したいマシン上の物理インターフェースの IP アドレスを指定する必要があります。複数のアドレスで複数の名前ベースのバーチャルホストを指定する場合は 各アドレスに対してディレクティブを書いてください。
With the NameVirtualHost directive you specify the IP address on which the server will receive requests for the name-based virtual hosts. This will usually be the address to which your name-based virtual host names resolve. In cases where a firewall or other proxy receives the requests and forwards them on a different IP address to the server, you must specify the IP address of the physical interface on the machine which will be servicing the requests. If you have multiple name-based hosts on multiple addresses, repeat the directive for each address.
192.168.2.200にsshすると大丈夫だが、192.168.2.65にsshするとだめ。100以下のaddrにforwardできていないのだろうか?
あとはhousyouのfirewallの設定がおかしい、という線だが、DNSが引けているのでそれはないだろう。まいったなこりゃ。
[nori@housyou]/etc/httpd% /usr/sbin/httpd -S
VirtualHost configuration:
192.168.2.64:80 is a NameVirtualHost
default server tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/tonic-water.com.conf:2)
port 80 namevhost tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/tonic-water.com.conf:2)
port 80 namevhost www.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/www.conf:1)
port 80 namevhost git.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/git.conf:1)
port 80 namevhost photo.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/photo.conf:1)
port 80 namevhost buildbot.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/buildbot.conf:1)
port 80 namevhost backgammonbase.com (/etc/httpd/conf.d/vhosts/backgammonbase.com/backgammonbase.com.conf:2)
port 80 namevhost www.backgammonbase.com (/etc/httpd/conf.d/vhosts/backgammonbase.com/www.conf:2)
port 80 namevhost bd.backgammonbase.com (/etc/httpd/conf.d/vhosts/backgammonbase.com/bd.conf:1)
port 80 namevhost image.backgammonbase.com (/etc/httpd/conf.d/vhosts/backgammonbase.com/image.conf:2)
port 80 namevhost wxpygammon.org (/etc/httpd/conf.d/vhosts/wxpygammon.org/top.conf:1)
port 80 namevhost www.wxpygammon.org (/etc/httpd/conf.d/vhosts/wxpygammon.org/www.conf:1)
port 80 namevhost dtd.wxpygammon.org (/etc/httpd/conf.d/vhosts/wxpygammon.org/dtd.conf:1)
port 80 namevhost download.wxpygammon.org (/etc/httpd/conf.d/vhosts/wxpygammon.org/download.conf:1)
192.168.2.65:80 is a NameVirtualHost
default server pa.housyou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/PowerActPro.conf:1)
port 80 namevhost pa.housyou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/PowerActPro.conf:1)
port 80 namevhost munin.housyou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/munin.conf:1)
port 80 namevhost stat.houysou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/webalizer.conf:6)
port 80 namevhost distro.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/yum.conf:1)
port 80 namevhost trac.housyou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/trac.conf:1)
port 80 namevhost svn.housyou.tonic-water.com (/etc/httpd/conf.d/vhosts/tonic-water.com/svn.conf:12)
port 80 namevhost yum.backgammonbase.com (/etc/httpd/conf.d/vhosts/backgammonbase.com/yum.conf:1)
wildcard NameVirtualHosts and _default_ servers:
_default_:80 Sorry (/etc/httpd/conf.d/sorry.conf:2)
Syntax OK
0 件のコメント:
コメントを投稿