ftp from Red Hat AS 4.4 to Open VMS System

Gaddis, Jeremy L. jeremy at linuxwiz.net
Mon Dec 11 21:00:11 UTC 2006


On 12/11/06, Troy Knabe <knabe at 4j.lane.edu> wrote:
> Thanks to everyone who responded.  When you do an ls or dir on a remote
> host, it creates a "new" connection back to the server, so it is not
> persistent.  It appears to be grabbing a random port in the 53*** area.

Such is the nature of the FTP protocol.

> Is there syntax in iptables to allow all ports from a host over port 1024?

Try "iptables -A INPUT -p tcp -s A.B.C.D/255.255.255.255 --dport
1024:65535 -j ACCEPT"

> I also had to issue the *passive* command once connected before I could
> run an ls or dir.

"passive" indicates that the FTP client indicates the data connection
to the server, while using "active" mode (normally the default) the
FTP server initiates the data connection back to the client (which can
present problems if there is a firewall active).

-j

-- 
Jeremy L. Gaddis, MCP, GCWN
http://www.linuxwiz.net/




More information about the redhat-list mailing list