| Author |
Message |
hummer010
Moderator


Joined: 02 Nov 2000 Age: 33 Posts: 4659
Location: Right here!
|
Posted:
Fri Jun 13, 2003 7:38 am Post subject: FTP Through a router?!? |
|
I have an SMC 7004AWBR wireless router, and I want to run an ftp server through it.
I can connect to the ftp server, the username and password is verified, and then it always times out on the list command. The error is :425 Unable to open the data connection. I am using CERBERUS as my ftp server running on Win2K Pro.
I have port 21 forwarded to the ftp server. I have tried enabling DMZ for the ftp server in the router setup with no joy.
Is there some other port I need to forward? |
_________________ ---------------------------
Where are you?
...remember second place is really only first loser!
Last edited by hummer010 on Fri Jun 13, 2003 8:10 am; edited 1 time in total
|
|
|
|
|
wrathiron
Moderator


Joined: 23 May 2002 Posts: 5210
Location: Right behind you, holding a meat cleaver.
|
Posted:
Fri Jun 13, 2003 7:46 am Post subject: |
|
21 |
_________________ To Escape Criticism Do Nothing; Say Nothing Be Nothing
|
|
|
|
|
hummer010
Moderator


Joined: 02 Nov 2000 Age: 33 Posts: 4659
Location: Right here!
|
Posted:
Fri Jun 13, 2003 8:09 am Post subject: |
|
Whoops. Guess I should have mentioned that I already have port 21 forwarded to the ftp server. |
_________________ ---------------------------
Where are you?
...remember second place is really only first loser!
|
|
|
|
|
fear_nothing
Moderator


Joined: 07 Nov 2001 Posts: 2764
Location: The end of the internet
|
Posted:
Fri Jun 13, 2003 9:35 am Post subject: ftp ports |
|
Straight from RFC 793
ftp-data 20/tcp File Transfer [Default Data]
ftp-data 20/udp File Transfer [Default Data]
ftp 21/tcp File Transfer [Control]
ftp 21/udp File Transfer [Control]
You prob won't need the UDP ports, just 20 and 21 |
_________________ -Fear
Remember when it comes to Information Security only the paranoid will survive….
Slashdot poster: I don't use commercial applications. I don't use programs for my security tests. I do the tests myself everyday.
Slashdot reply: You don't use programs? What, you put the cat-5 in your mouth and try to *taste* the intruders?
An infinite number of monkeys pounding away on keyboards will eventually produce a report showing that Windows is more secure and has a lower TCO, than linux.
|
|
|
|
|
hummer010
Moderator


Joined: 02 Nov 2000 Age: 33 Posts: 4659
Location: Right here!
|
Posted:
Fri Jun 13, 2003 10:47 am Post subject: |
|
I have both the TCP and UDP ports 20 and 21 forwarding to the ftp server. I still get the same error: 425 unable to open the data connection.
Do I need to be dealing with PASV transfers? |
_________________ ---------------------------
Where are you?
...remember second place is really only first loser!
|
|
|
|
|
fear_nothing
Moderator


Joined: 07 Nov 2001 Posts: 2764
Location: The end of the internet
|
Posted:
Fri Jun 13, 2003 11:07 am Post subject: |
|
It depends on your FTP server...
http://www.cerberusftp.com/cerberus-releasenotes.htm#KnownIssues
I'd do some checking to see what mode of FTP it runs under... active or passive. |
_________________ -Fear
Remember when it comes to Information Security only the paranoid will survive….
Slashdot poster: I don't use commercial applications. I don't use programs for my security tests. I do the tests myself everyday.
Slashdot reply: You don't use programs? What, you put the cat-5 in your mouth and try to *taste* the intruders?
An infinite number of monkeys pounding away on keyboards will eventually produce a report showing that Windows is more secure and has a lower TCO, than linux.
|
|
|
|
|
MrE
Mutt


Joined: 02 Feb 2003 Posts: 146
Location: USA
|
Posted:
Mon Jun 23, 2003 6:01 pm Post subject: |
|
you might need to forward more than just port 21
with my Linksys Router, running GuilFTPd , I have to forward port 21 and the entire range of ports 50001 - 50100 |
|
|
|
|
|
|
Zorched
Stray Dog
Joined: 27 Jun 2003 Posts: 1
|
Posted:
Fri Jun 27, 2003 6:02 pm Post subject: If the router is doing NAT |
|
Then certain ftp clients will need PASV ftp enabled on their end in order to work properly. |
|
|
|
|
|
|
fear_nothing
Moderator


Joined: 07 Nov 2001 Posts: 2764
Location: The end of the internet
|
Posted:
Sun Jun 29, 2003 5:16 pm Post subject: |
|
any luck on this? |
_________________ -Fear
Remember when it comes to Information Security only the paranoid will survive….
Slashdot poster: I don't use commercial applications. I don't use programs for my security tests. I do the tests myself everyday.
Slashdot reply: You don't use programs? What, you put the cat-5 in your mouth and try to *taste* the intruders?
An infinite number of monkeys pounding away on keyboards will eventually produce a report showing that Windows is more secure and has a lower TCO, than linux.
|
|
|
|
|
|
|