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

[plamo:14231] Re: ncftpのproxy設定



樋口です.

From: A Matsui <matsui.akira@canon.co.jp>
> ncftpでproxyサーバ経由でFTPサーバに接続するにはどうすればよろしいでしょ
> うか.

Ver 3 ということであれば,~/.ncftp/firewall というファイルができて
いると思います.ここで,FireWall のけいしきを指定し,必要な設定を
します.私の環境では,type 1 なので,それに従って FireWall のホスト名
などの指定をします.

% more ~/.ncftp/firewall
# NcFTP firewall preferences
# ==========================
#
# If you need to use a proxy for FTP, you can configure it below.
# If you do not need one, leave the ``firewall-type'' variable set
# to 0.  Any line that does not begin with the ``#'' character is
# considered a configuration command line.
#
# NOTE:  NcFTP does NOT support HTTP proxies that do FTP, such as "squid"
#        or Netscape Proxy Server.  Why?  Because you have to communicate with
#        them using HTTP, and this is a FTP only program.
#
# Types of firewalls:
# ------------------
#
#    type 1:  Connect to firewall host, but send "USER user@real.host.name"
#
#    type 2:  Connect to firewall, login with "USER fwuser" and
#             "PASS fwpassword", and then "USER user@real.host.name"
#
#    type 3:  Connect to and login to firewall, and then use
#             "SITE real.host.name", followed by the regular USER and PASS.
#
#    type 4:  Connect to and login to firewall, and then use
#             "OPEN real.host.name", followed by the regular USER and PASS.
#
#    type 5:  Connect to firewall host, but send
#             "USER user@fwuser@real.host.name" and
#             "PASS pass@fwpass" to login.
#
#    type 6:  Connect to firewall host, but send
#             "USER fwuser@real.host.name" and
#             "PASS fwpass" followed by a regular
#             "USER user" and
#             "PASS pass" to complete the login.
#
#    type 7:  Connect to firewall host, but send
#             "USER user@real.host.name fwuser" and
#             "PASS pass" followed by
#             "ACCT fwpass" to complete the login.
#
#    type 0:  Do NOT use a firewall (most users will choose this).
#
firewall-type=1
#
#
#
# The ``firewall-host'' variable should be the IP address or hostname of
# your firewall server machine.
#
firewall-host=XXXXX
#
#
#
# The ``firewall-user'' variable tells NcFTP what to use as the user ID
# when it logs in to the firewall before connecting to the outside world.
#
firewall-user=higuchi
#

Follow-Ups
[plamo:14232] Re: ncftpのproxy設定, A Matsui
References
[plamo:14229] ncftpのproxy設定, A Matsui

[検索ページ] [メール一覧]
Plamo ML 公開システム