Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Feb 2000 19:05:27 -0700 (MST)
From:      Charles Mott <cmott@scientech.com>
To:        questions@FreeBSD.ORG
Subject:   Re: Redirecting/mapping ports to a local machine... help!
Message-ID:  <Pine.LNX.4.10.10002191856540.22579-100000@if.scientech.com>
In-Reply-To: <20000219203204.G60348@cc942873-a.ewndsr1.nj.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 19 Feb 2000, Crist J. Clark wrote:
> This is a server issue not a client issue. An ftp client can do
> passive ftp from behind a NAT box. However, active ftp would not
> work.

This is not correct.  There is specific code in the
packet aliasing library used by natd for handling "active"
(i.e. non-passive) connections.  Essentially, the packet
aliasing code looks for a PORT command in the control
stream and then sets up a back-channel to wait for the
port 20 control connection from the ftp server.

Many people use ftp in non-passive mode from behind natd
without any problems.

> 
> Use of a control channel and a data channel is a basic part of the ftp
> protocol. See RFC 959. Unimplemented RFC 2428 might be interesting too.
> -- 
> Crist J. Clark                           cjclark@home.com
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.10.10002191856540.22579-100000>