View previous topic :: View next topic |
Author |
Message |
batkins Tux's lil' helper
Joined: 20 May 2003 Posts: 127
|
Posted: Tue Jul 29, 2003 1:15 pm Post subject: FTP through a router |
|
|
I'm trying to make an active ftp connection from my Gentoo laptop to an external site. The problem is that when the PORT command is sent, it sends the internal address of my computer (192.168.1.x) instead of the external address - the address of my router.
How can I make the connection? In FileZilla there was an option to use a different IP address for outgoing connections, but this doesn't seem to be the case with the command-line ftp client.
I've tried passive mode, but that just doesn't work.
Bill |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Tue Jul 29, 2003 2:35 pm Post subject: |
|
|
Is your router performing NAT properly? Does it require extra configuration tracking ftp connections? What type of router do you have? _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
batkins Tux's lil' helper
Joined: 20 May 2003 Posts: 127
|
Posted: Tue Jul 29, 2003 2:41 pm Post subject: |
|
|
a linksys wireless-b |
|
Back to top |
|
|
neilhwatson l33t
Joined: 06 Feb 2003 Posts: 719 Location: Canada
|
Posted: Tue Jul 29, 2003 2:47 pm Post subject: |
|
|
Sorry, never used one. Anyone want to jump in? _________________ The true guru is a teacher.
Neil Watson |
|
Back to top |
|
|
joycea Apprentice
Joined: 23 Jul 2002 Posts: 191 Location: Kingston, Canada
|
Posted: Tue Jul 29, 2003 5:20 pm Post subject: |
|
|
I'm having the same problem at the moment, I believe it happens because the software chooses the port based on the IP it thinks it is and sends that over. The IP that it knows itself is happens to be in the internal address.
I am using ProFTPd and haven't found a configuration option to fix the problem yet. I think any fix would be a software based solution though. What FTP server are you using? |
|
Back to top |
|
|
|