[ubuntu-jp:4360] Re: ftp サーバの設定での質問
稲葉伸之
nobuyuki.inaba @ gmail.com
2013年 3月 19日 (火) 01:29:49 UTC
稲葉と申します。
すみません。
もっと別な所でミスをしているようです。
/etc/network/interfaces
の設定が
-------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address aaa.bbb.ccc.197
netmask 255.255.255.248
network aaa.bbb.ccc.192
broadcast aaa.bbb.ccc.199
gateway aaa.bbb.ccc.194
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers ***.***.***.***
dns-search ichiko.co.jp
auto eth1
iface eth1 inet static
address 172.23.11.41
netmask 255.255.255.0
network 172.23.11.0
broadcast 172.23.11.255
* gateway 172.23.11.1
up route add -net 172.23.0.0 netmask 255.255.0.0 gw 172.23.11.1
pre-down route del -net 172.23.0.0 netmask 255.255.0.0 gw 172.23.11.1
--------------------------
としていまして、
このサーバからは、172.23へのネットワークにはアクセスできますが、
例えば172.23.11.40のPCから172.23.11.41のこのサーバにはアクセスできません。
設定も、あまりわからないで、netで見つけたものを流用しています。
問題は、このサーバからは、172.23のネットワークにはアクセスできるが、
172.23のネットワーク上のPCからこのサーバにアクセスできない点のようです。
何処がいけないか、何処を調べたら良いのかわかりません。
そこで、わかる方に教えてもらえれば助かるのですが教えてください。
すみませんがよろしくおねがいします。
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address aaa.bbb.ccc.197
netmask 255.255.255.248
network aaa.bbb.ccc.192
broadcast aaa.bbb.ccc.199
gateway aaa.bbb.ccc.194
# dns-* options are implemented by the resolvconf package, if installed
dns-nameservers ***.***.***.***
dns-search ichiko.co.jp
auto eth1
iface eth1 inet static
address 172.23.11.41
netmask 255.255.255.0
network 172.23.11.0
broadcast 172.23.11.255
* gateway 172.23.11.1
up route add -net 172.23.0.0 netmask 255.255.0.0 gw 172.23.11.1
pre-down route del -net 172.23.0.0 netmask 255.255.0.0 gw 172.23.11.1
2013年3月16日 12:21 稲葉伸之 <nobuyuki.inaba @ gmail.com>:
> listen_address
> は指定していません。
> いま、自宅ですので、月曜に入れてテストしてみたいと思います。
> なんだか、解決しそうな予感がします。
> 結果、後日報告します。
>
> 2013年3月15日 18:16 1xx <itsango @ gmail.com>:
>> 2013年3月15日 16:58 稲葉伸之 <nobuyuki.inaba @ gmail.com>:
>>> apt-get install vsftpd
>>
>>> eth0のipアドレスに対してftpができる様なのですが、
>>> eth1のipアドレスに対してftpが出来ない様です。
>>
>> vsftpdを使ったことがないので、頓珍漢な事を言っていたら申し訳ないのですが、
>> /etc/vsftpd.confの
>> listen_address=
>> の設定はどうなっているでしょうか?
>>
>> 参考にした情報のソース:
>> http://izanari-techmemo.blogspot.jp/2013/03/vsftpd.html
>> http://izanari-techmemo.blogspot.jp/
>> man 5 vsftpd.conf
>>
>> --
>> 1xx <ItSANgo @ gmail.com> <https://twitter.com/ItSANgo>
>> <http://d.hatena.ne.jp/Itisango/>
>>
More information about the ubuntu-jp
mailing list