Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connecting to FTP server behind firewall with port forwarding failing #998

Closed
cyberduck opened this issue Jan 16, 2007 · 1 comment
Closed
Assignees
Labels
enhancement ftp FTP Protocol Implementation worksforme
Milestone

Comments

@cyberduck
Copy link
Collaborator

f81a3d7 created the issue

I have a FTP server behind a firewall... The firewall is 192.261.1.1, and the server is 192.168.1.3. When I connect using cyberduck I get back the PORT to use as 192.168.1.3:XXXX, not my public IP address!

Here is the text of my IM conversation with my friend who diagnosed it:

cguillot@mac.com 
ok, so an ftp server sends its ip address in the response to a passive mode PORT request, along with the port number to connect to...
11:21
» ie. I send PORT, it sends back (my ip):5005 or somesuch.
11:22
Eric Pugh 
ok
11:22 
cguillot@mac.com 
Because you're forwarding ports, the server is (correctly) sending back 192.168.100.103:5005
11:22
Eric Pugh 
right
11:22 
cguillot@mac.com 
And cyberduck, not being very smart, is taking it at its word, and not noticing that that is not the ip address it connected to initially.
11:22
» ...and 192.168.100.103 is not routable from where you are....
11:23
Eric Pugh 
ah...
11:23 
cguillot@mac.com 
Most ftp clients (incl the cmd line one) will try the ip address they know to be correct in the case of a private ip being returned in response to PORT.
11:24
Eric Pugh 
submitting bug to cyberduck
11:24
» fugu seems to do the same thing
@cyberduck
Copy link
Collaborator Author

@dkocher commented

Should be fixed as of 2.7.3

@iterate-ch iterate-ch locked as resolved and limited conversation to collaborators Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement ftp FTP Protocol Implementation worksforme
Projects
None yet
Development

No branches or pull requests

2 participants