🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: tnn.internet.firewall
4 messages
4 total messages Started by Beau Clark Thu, 28 Oct 1999 00:00
FTP and NAT
#1
Author: Beau Clark
Date: Thu, 28 Oct 1999 00:00
12 lines
1645 bytes
I only have one real world address.  So I am running Network address
Translation.  I set up a FTP server internally with a 10.*.*.* address.  On
the router, I set it to redirect all traffic on port 21 to the proper
internal 10.*.*.* address.  Externally when I try and connect to the FTP
server.  I am able to connect, it processes my username and password, but
then it will not let me upload or download files.  It also will not give me
a directory list.  I can change directorys, I just can not do anything else
on the FTP server.  If I connect in passive mode, it authenticates me and
then tries to switch to the 10.*.*.* address with the random port number.
Any ideas on how to work around this would be greatly appreciated.

Thanks
Re: FTP and NAT
#2
Author: salnot patrice
Date: Fri, 29 Oct 1999 00:00
23 lines
1995 bytes
Beau Clark wrote:
> 
> I only have one real world address.  So I am running Network address
> Translation.  I set up a FTP server internally with a 10.*.*.* address.  On
> the router, I set it to redirect all traffic on port 21 to the proper
> internal 10.*.*.* address.  Externally when I try and connect to the FTP
> server.  I am able to connect, it processes my username and password, but
> then it will not let me upload or download files.  It also will not give me
> a directory list.  I can change directorys, I just can not do anything else
> on the FTP server.  If I connect in passive mode, it authenticates me and
> then tries to switch to the 10.*.*.* address with the random port number.
> Any ideas on how to work around this would be greatly appreciated.
> 
> Thanks

U must be in passive mode to use ftp over a NAT, just type:

ftp> passive


-- 
e-mail:salnot@cybercable.fr
		The Only Stupid Question Is The Unasked One.
Re: FTP and NAT
#3
Author: Georg Kreyerhoff
Date: Fri, 29 Oct 1999 00:00
18 lines
1704 bytes
"Beau Clark" <bmclark@sprintparanet.com> writes:

> I only have one real world address.  So I am running Network address
> Translation.  I set up a FTP server internally with a 10.*.*.* address.  On
> the router, I set it to redirect all traffic on port 21 to the proper
> internal 10.*.*.* address.  Externally when I try and connect to the FTP
> server.  I am able to connect, it processes my username and password, but
> then it will not let me upload or download files.  It also will not give me
> a directory list.  I can change directorys, I just can not do anything else
> on the FTP server.  If I connect in passive mode, it authenticates me and
> then tries to switch to the 10.*.*.* address with the random port number.
> Any ideas on how to work around this would be greatly appreciated.
> 
the ftp-server builds up a second connection on port 20. You have to
allow outgoing connections from the server to the client on that port.

Georg
> Thanks
Re: FTP and NAT
#4
Author: Lind
Date: Mon, 01 Nov 1999 00:00
32 lines
2530 bytes
To have FTP work with NAT (both incoming and outgoing) properly, your
firewall should be a stateful type. FTP only use port 21 for initial
connection and commands. The subsequent data ports are determined by the FTP
client (in passive mode) using the "PORT" command. It tells the server to
call back to a port specified . A proper firewall will know how to intercept
the information and open that port temporarily so the "DIR" or "LS" (which
is really consist of a PORT and NLIST command) can be successful. Many
firewalls, including GuardIT from Computer Associates, and Firewall 1 from
Check Point can do that.

Lind

Beau Clark <bmclark@sprintparanet.com> wrote in message
news:7vab32$ob3$1@birch.prod.itd.earthlink.net...
> I only have one real world address.  So I am running Network address
> Translation.  I set up a FTP server internally with a 10.*.*.* address.
On
> the router, I set it to redirect all traffic on port 21 to the proper
> internal 10.*.*.* address.  Externally when I try and connect to the FTP
> server.  I am able to connect, it processes my username and password, but
> then it will not let me upload or download files.  It also will not give
me
> a directory list.  I can change directorys, I just can not do anything
else
> on the FTP server.  If I connect in passive mode, it authenticates me and
> then tries to switch to the 10.*.*.* address with the random port number.
> Any ideas on how to work around this would be greatly appreciated.
>
> Thanks
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads