Permissions with my FTP...

Hi, i'm back

i've set up an ftp server on my mandrake 10.
Now i've forwarded port 21 on my router.
If I type my internal IP , everything works fine...
If I type my external IP, it's not alright.

He gives the following error:
"An error accurred reading the contents of the folder. Make sure the file name is vlid and you have permission to access the location specified.
Details: A connection with the server could nog be established"

How can i get external on my ftp, (my port 21 is forwarded)
koenvdlAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Karl Heinz KremerCommented:
Make sure that you use passive ftp on your client.

How are you testing your external IP address? If you do this from within your private network, it may not work (this depends on how your router handles this). You need to test this from a computer that is external to your private network.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jlevieCommented:
For a passive FTP connection, which is the only thing that makes sense for clients accessing your FTP server from the Internet, you need port 21 accepting inbound connections and forwarded to your server and ephemeral ports (>1024) allowed and forwarded. Since forwarding all of the ephemeral ports will pretty much eliminate Internet access for other clients in the LAN you need to be using an FTP server that allows a limited range of ephermeral ports to be configured, for example ProFTP.

For a good explanation of what happens in an FTP session see http://slacksite.com/other/ftp.html
0
koenvdlAuthor Commented:
I've configured vsFTP on my mandrake workstation...

at my selfmade router pc,
when I typ: ftp://192.168.1.2 , i'll see my pub...
when I typ: ftp://80.12.123.23 , he sais that error.

My port is at my Win2000 SP4 self made router forwarded with the windows services...
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

Karl Heinz KremerCommented:
I just tried to connect to the IP address you specified, and entered ftp/ftp as user id /password and then got the error message that the password was not correct. Besides the slow speed, it looks like I'm able to connect to your ftp server.
0
jlevieCommented:
Connecting is one thing and actually doing something is another. With only port 21/TCP allowed and forwarded to the FTP server you can login and do any operation that doesn't require a data transfer, like "ls", "dir", "get", "put", etc. For a data transfer to occur the PASSIVE client must be able to open a connection to the FTP server using an ephemeral port.
0
koenvdlAuthor Commented:
@khremer: That wasn't my IP...it was just an IP in my mind :)
@jlevie: yes , but i can't do a data transfer,when i can't connect external...
and internal the datatransfer work perfectly.
0
Karl Heinz KremerCommented:
Have you tried to connect from a machine that is not on your subnet?
0
jlevieCommented:
> @jlevie: yes , but i can't do a data transfer,when i can't connect external...

Right and that would be because your firewall isn't allowing external clients to connect on an ephemeral (>1024) port. Opening and forwarding all of the empheral ports (1024-65535) would make inbound FTP work, but it will break all other Internet access. If your FTP server can be configured to listen on a subset of the ephemeral ports, say 50000-65535, (ProFTP allows this) you can open & forward that range to the FTP server.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.