Article View: tnn.internet.firewall
Article #4Re: FTP and NAT
From: Lind
Date: Mon, 01 Nov 1999 00:00
Date: Mon, 01 Nov 1999 00:00
32 lines
2530 bytes
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 > > >
Technical Details
Message-ID:
<EZ7T3.4401$Yp6.51526@news.rdc1.nj.home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<7vab32$ob3$1@birch.prod.itd.earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f922c,455871d06528e7a3 X-Google-Attributes: gidf922c,public X-Google-Thread: fc301,455871d06528e7a3 X-Google-Attributes: gidfc301,public X-Google-Thread: 100902,455871d06528e7a3 X-Google-Attributes: gid100902,public X-Google-Thread: fc6f6,455871d06528e7a3 X-Google-Attributes: gidfc6f6,public From: "Lind" <LindYLamm@yahoo.com> Subject: Re: FTP and NAT Date: 1999/11/01 Message-ID: <EZ7T3.4401$Yp6.51526@news.rdc1.nj.home.com> X-Deja-AN: 542950258 References: <7vab32$ob3$1@birch.prod.itd.earthlink.net> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 X-Complaints-To: abuse@home.net X-Trace: news.rdc1.nj.home.com 941427684 24.228.7.188 (Sun, 31 Oct 1999 19:41:24 PST) Organization: @Home Network X-MSMail-Priority: Normal Reply-To: "Lind" <LindYLamm@yahoo.com> NNTP-Posting-Date: Sun, 31 Oct 1999 19:41:24 PST Newsgroups: tnn.internet.firewall,list.firewall,comp.security.firewalls,at.mail.firewalls