FYI, the Alcatel pinhole can be setup from the command line as per example
below. Just telnet to the router on 10.0.0.138 for command line access. Make
sure you change 10.0.0.x to the IP address of your FTP server on the LAN.
nat create protocol=tcp inside_addr=10.0.0.x inside_port=21 outside_addr=0
outside_port=21
nat save
Cheers,
Nik
> -----Original Message-----
> From: Steve Phillips [mailto:steve@focb.iconz.co.nz]
> Sent: Friday, 05, October 2001 9:00 AM
> To: Geoff Thornburrow (DSL HN); Jithen Singh; Adsl - Forum
> Subject: RE: ftp server help
>
>
> At 08:50 5/10/2001, Geoff Thornburrow (DSL HN) wrote:
>
> >As far as I know...
> >
> >You need to forward (pinhole) TCP port 21 from the modem
> through to the FTP
> >server. The FTP server also needs to be able to make
> outgoing connections on
> >TCP port 20.
>
> Depending if it is making active mode of passive mode
> connections, with
> active mode the outgoing port is port 20 and the port to
> pinhole is port 21
> (the control connection) however, many ftp clients default to
> passive mode
> ftp (most notably, web browsers) and they work by making a
> connection back
> to the ftp server on a port above 1024, which means you would
> then need to
> pinhole all ports between 1024 and 65535 through to the ftp server.
>
> however, some ftp servers (ProFTPd) have options that allow
> you to specify
> port ranges that it will open up a passive mode connection
> and some routers
> will dynamically pinhole ports based upon the PORT command
> the ftp server
> issues when a data stream is being opened, wether your router
> has this
> facility is another story.
>
> Passive mode works when the client is behind a firewall/NAT
> device and
> cannot be connected to directly from the net.
> Active mode works when the client is not behind a
> firewall/NAT device and
> can be connected to directly from the net.
>
> if both the server and the client are behind a firewall/NAT
> device then
> things get a little more difficult.
>
> --
> Steve.
>
>
> >Geoff
> >
> > > Hi Guys,
> > >
> > > Im having some troubles setting up an ftp server on my machine. My
> > > machine is on a LAN and access the internet through a router
> > > (speedtouch
> > > pro).
> > >
> > > Ive tried using G6 FTP or SERV U .. all work on the
> router assigned ip
> > > address but how would I get people outside of my network
> to access it.
> > >
> > > The router automatically assigns ip address to everyone on
> > > the LAN .. in
> > > the for of 10.0.0.x ..
> > >
> > > Thanks
> > >
> > > Jithen
The information contained in this email message may be confidential. If you
are not the intended recipient, any use, distribution, disclosure or copying
of this information is prohibited. If you receive this email in error,
please tell us by return email and delete it and any attachments from your
system.
This message is part of the NZ ADSL mailing list.
see http://unixathome.org/adsl/ for archives, FAQ,
and various documents.
To unsubscribe: send mail to majordomo@lists.unixathome.org
with "unsubscribe adsl" in the body of the message
Received on Fri Oct 5 09:23:25 2001