LoginSignup
0
1

More than 5 years have passed since last update.

Ubuntu でFTPサーバを立てるときに注意すること

Posted at

きっかけ

AWSでFTPサーバを立てたが、セキュリティ・グループでTCP/20,21を解放したが、外部(WAN側)からFTP接続したとき何故か弾かれてしまった。

原因

vsftpdインストール時、初期設定では

listen_address=127.0.0.1

となっていたが、これではlocalhostだけ受け付け、外部(WANとLAN)から接続できない状況になっていた。

解決方法

そこで、listen_addressの値を空にすることで、とりあえずこの問題は解決した。

listen_address=

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1