ftp on different port than 21
From: Alan (alan_at_lasere.com)
Date: 10/29/03
- Next message: Enrique Arredondo: "Re: TIFF to BMP or JPG"
- Previous message: Richard: "Re: Anyone have DigiFax?"
- Next in thread: Jean-Pierre Radley: "Re: ftp on different port than 21"
- Reply: Jean-Pierre Radley: "Re: ftp on different port than 21"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 29 Oct 2003 16:13:10 -0500
I have two FTP servers begind a firewall. I have the firewall set to
forward traffic on prot 41279 to the second server. In that server I have
modifed the services to provide FTP service on the port. Inside on the
local LAN, this works fine. When I try to connect through the firewall I
get the following messages, and then it tries to reconnect. Ihave modified
the IP address for obvious reasons.
I notice in the /etc/services file that port 21 is ftp and port 20 is
ftp-data. I setup port 41279 as ftp2 and port 41278 as ftp2-data. In the
/etc/inetd.conf file I connected ftp2 to ftpd. The remainder of the
parameters are the same as on the default ftp line in inetd.conf.
Does anybody know what I am missing.
The firewall is a SonicWall, and there is no VPN associated at the present
time. Eventually there will be a VFP involved, but I need to get this
running without the VFP for the conversion.
STATUS:> Connecting to "xxx.xxx.xxx.xxx" on port 41279.
220-
220 fwnco FTP server (Version 2.1WU(1)) ready.
STATUS:> Connected. Logging into the server
COMMAND:> USER root
331 Password required for root.
COMMAND:> PASS *****
230 User root logged in.
STATUS:> Login successful
COMMAND:> FEAT
500 'FEAT': command not understood.
COMMAND:> REST 100
350 Restarting at 100. Send STORE or RETRIEVE to initiate
transfer.
COMMAND:> REST 0
350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer.
STATUS:> Server supports resume
COMMAND:> PWD
257 "/" is current directory.
COMMAND:> CWD /
250 CWD command successful.
COMMAND:> TYPE A
200 Type set to A.
COMMAND:> PORT 10,0,1,53,11,98
200 PORT command successful.
COMMAND:> LIST
ERROR:> Socket error: Unknown socket error (0)
ERROR:> Socket error: Unknown socket error (0)
STATUS:> Error sending command "LIST". Reconnecting (send attempt 2)...
- Next message: Enrique Arredondo: "Re: TIFF to BMP or JPG"
- Previous message: Richard: "Re: Anyone have DigiFax?"
- Next in thread: Jean-Pierre Radley: "Re: ftp on different port than 21"
- Reply: Jean-Pierre Radley: "Re: ftp on different port than 21"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|