[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]
Re: ftp problem
On Thu, 21 Sep 2000, Athena wrote:
>
>
> On Thu, 21 Sep 2000, M K Saravanan wrote:
>
> > this is w.r.t. my earlier mail regd. ftp problem.
> >
> > /* earlier mail */
> >
> > I am using ipchains in the linux server to provide Internet connection to
> > our Intranet. I am not able to do ftp or wget in any of the system
> > connected to Intranet except the server which is running ipchain. But if i
> > do ftp using gftp or thru browser i am able to download the
> > files. somewhere i studied that ftp needs to open a data connection with
> > the target m/c.
> >
> > Qn.1) If that is the reason why i am not able to connect to ftp
> > from intranet? what is the sol. for this?
> >
> > Qn.2) in that case why it is possible thru browser or gftp?
> >
> > /* end of earlier mail */
> >
> >
> > Now if i use --passive-ftp in wget it is working. but if i use passive
> > mode in gftp i am getting the following error message:
> >
> > 227 Entering Passive Mode (209,202,197,152,224,238) Cannot create a data
> > connection: No route to host Cannot put file /mksbm.txt to ftp.tripod.com
> > Disconnecting from site ftp.tripod.com
> >
> >
> > what could be the problem?
> >
> > ** mks **
> >
> Are you using ip forwarding and is the module for ftp loaded. With
> masquarading and ip forwarding turned on, it is possible to use normal
> ftp. (Normally ftp requires two connections, one for control and another
> for data and the data connection is started from the other end and so
> normally if you are behind a firewall, you can't use ftp, but ofcourse you
> can use passive mode of ftp).
>
> -George Samuel
>
To be more specific, you need to run something like this in some rc file
/sbin/depmod -a
/sbin/modprobe ip_masq_ftp
--
Regards, Tranquilmoney.com
Oommen 65, Broadway, Suite 824
New York, NY 10006
Phone: 212-402-5383 x 1782
---
Visit our home page at: www.chennailug.org
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe'
in either the subject or the body to unsubscribe from this list.