[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:14408] ncftp で proxy 経由のアクセス



山口@浜松です。いつも勉強させてもらっています。


ncftpをproxy経由で使用するにはどうしたら良いのでしょう?
man ncftpして、firewallで検索しますと、Can Use Passive FTPフィールドの
設定に関する以下の文章が出てきます。

--- ここから ---
>The Can Use Passive FTP field specifies whether the remote server
>allows use of the FTP Protocol's PASV command.
Can Use Passive FTP フィールドはリモートサーバーがFTPプロトコルの
PASVコマンドを許可するかどうか設定する。

>There are two ways to set up FTP connections.
FTP接続をセット・アップする2つの方法がある。

>The default way is what I call Port FTP.
ディフォルト方法は私がポートFTPと呼ぶものである。

>Unfortunately, Port FTP can not be used when your local host is
>hiding behind a Fire wall.
不運にも、あなたのホストがファイアウォールの後ろに隠れている場合、
ポートFTPは使用することができない。

>Passive FTP can be used with a firewall, and that's why I would like
>to use that method if possible.
Passive FTPはファイアウォールと共に使用することができる。また、
可能な場合、私はその方法を使用したい。

>You probably will not need to edit this field, since this can be
>detected automatically most of the time.
これを自動的に通常検知することができるので、恐らくこのフィールドを編集
する必要がないだろう。
--- ここまで ---

上記文章を読むと、Passive FTPをYESに設定すれば自動的にFireWallを超えて
くれるような記述に読み取れるのですが,ftpサーバーに接続することが
できません。ncftpのバージョンは2.4.3です。

proxyホストのアドレスとポートを設定するような場所があると思うのですが..。

なお、proxyはhttp,ftpが可能なように設定されています。
(ちなみにapt-getやlynxは $http_proxyを設定すると使用することができました)

よろしくご指導ください。
--
山口健輔 <k_yama@xxxxxxxxxxxxxxxx>