LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2001, 06:27 AM   #1
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15
ftp problem!


hey guys,

i've got a linux machine acting as a dialin server giving dialin users access to internet .everythings fine except that i am unable to access any ftp sites when i connect to the internet thru my server.( infact i can connect to this ftp site, but is unable to view the contents of any of the directories it hosts) ,

what kills me is that this same ftp site is accessible when i connect using a different dialup connection(not thru my server!)i can see what all files are in each directory and can download them too..

i dialed into to my server using a windows machine and iam given access to the internet .now ,i used command line in winbox accessing an ftp site .i can connect to the ftp site but when i try to list the contents of the directory and i get this error:
ftp>ls<return>
500 Illegal port command
425 Can't build data connection: Connection refused
ftp>

but i can change directories by ftp>cd somedir and use "get" to download files ,provided i know the name of the file beforehand.:-)..

when i use a different dialup connection
ftp>ls
lists all of the files in the directory...:-(

what's wrong with my connection?pls help!

thanx
 
Old 12-11-2001, 09:45 AM   #2
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 47
Try loading the ftp masquerade module:

/sbin/modprobe ip_masq_ftp

You can read more about it in the howto:

http://www.linuxdoc.org/HOWTO/IP-Mas...WTO/index.html
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ftp from LInux to Serv-U ftp server problem csross Linux - General 2 11-07-2005 04:35 PM
FTP problem DataCorrupt Linux - Newbie 1 08-04-2005 11:06 AM
problem with ftp on mandrake 10.1 Official, ftp speeds system wide (anybody noticed?) equinox Mandriva 15 11-10-2004 02:07 PM
FTP Problem - Please help fuelinjection Linux - General 13 12-07-2003 10:46 AM
FTP problem kilogoretrout Linux - General 3 06-21-2003 11:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:04 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration