A friend of mine has the router from my topic, and he wants to set up an ftp server, but he has to make rules for that in his router to allow this traffic, the only problem is when he does that it doesn't work for people like me who are trying to connect and are also behind a router. The main problem is, when he for example wants his server to run on port 3334 and he sets it up in there, I who am also behind a router can connect if I allow outbound port 3334 on his server IP, and it seems to be logging in and working, but right after logging in, it will go to,
[R] Opening data connection IP: 211.211.180.214 PORT: 55715
and thats where it goes wrong, cuz it doesn't stay on port 3334, and because it doesn't I cannot connect cuz I only allow port 3334 outbound in my router so I can connect to his server. I can log in and retry every time and every time, it will list a different data port,
[R] Opening data connection IP: 213.211.190.204 PORT: 6668
or
[R] Opening data connection IP: 213.211.190.204 PORT: 17551
etc etc etc
So in order for me to connect to his server successfully I would literally have to open every single port from 0-65535, and that certainly is not the way this should be done.
So the question is, how does he have to make these rules in his router in order for me to connect to port 3334, and 3334 alone. That data connection should stay on that port.
Regards,
Antiparadox
PS : Detailed explanation for his exact model and what he should do step by step is highly appreciated, person helping me in such a way to make it work gets full credit.
by: weareitPosted on 2007-09-05 at 12:38:23ID: 19835138
What FTP software is he using? It sounds like passive mode is enabled.
-saige-