Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2001 15:14:35 +0200
From:      "MuratBSD" <muratbsd@softhome.net>
To:        "Drew Sanford" <drew@planetwe.com>
Cc:        "Freebsd-Questions" <freebsd-questions@freebsd.org>
Subject:   RE: ftp apps and nat
Message-ID:  <NEBBKCBJALGONAJFPFDJAEFDCEAA.muratbsd@softhome.net>
In-Reply-To: <3A66E459.8020003@planetwe.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi


I tried the "passive" mode ftp with ncftp
This is the output

ftp.freesoftware.com:/.0/FreeBSD
(Mail) ncftp>passive
Passive mode ON.
ftp.freesoftware.com:/.0/FreeBSD
(Mail) ncftp>ls
ftp.freesoftware.com:/.0/FreeBSD
(Mail) ncftp>cd pub
pub: No such file or directory.
ftp.freesoftware.com:/.0/FreeBSD
(Mail) ncftp>

--------------------------------
|
| Murat SULUHAN
| TE.SA.M. T.U.R.K. / GLOBALSTAR
|
--------------------------------

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Drew Sanford
> Sent: Thursday, January 18, 2001 2:41 PM
> To: MuratBSD
> Cc: Freebsd-Questions
> Subject: Re: ftp apps and nat
>
>
> At worst you may need to type passive at the prompt after you log in,
> before you run any commands. But I'm no firewall guru, and someone else
> might spot a fix somewhere for your rules.
>
> MuratBSD wrote:
>
> > Hi
> >
> > I implemented a NATdeamon and firewall (IPFW)  with a FreeBSD
> 4.2 stable and
> > I didn't any successfull operation with ftp client, my firewall and nat
> > options are below. I can logon to ftp server but my commands
> are not working
> >
> > Please help me
> >
> > // NAT options //
> >
> > unregistered_only
> > alias_address 195.155.33.55
> > log
> > redirect_port tcp 10.100.100.1:20-21-23 20-21-23
> > dynamic
> > same_ports
> >
> > //------------//
> >
> >
> >
> > // Firewall rules //
> >
> > 00020 1849175 1088830170 divert 8668 ip from any to any via fxp1
> > 00030    5584     609962 allow ip from any to any via lo0
> > 00040 3453531 2146965479 allow tcp from any to any established
> > 00060       0          0 deny ip from any to 127.0.0.0/8
> > 00200   39614    1880048 allow tcp from any to any 80 setup
> > 00201       0          0 allow tcp from any 80 to any
> > 00202       8        480 allow tcp from any to any 80
> > 00250       2         80 allow tcp from any 21 to any
> > 00255     665      31580 allow tcp from any to any 21
> > ......
> > ........
> > ....
> >
> >
> > //------------//
> >
> > --------------------------------
> > |
> > | Murat SULUHAN
> > | TE.SA.M. T.U.R.K. / GLOBALSTAR
> > |
> > --------------------------------
> >
> >
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
>
>
> --
> Drew Sanford
> Systems Administrator
> drew@planetwe.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?NEBBKCBJALGONAJFPFDJAEFDCEAA.muratbsd>