Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FTP through a router
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
batkins
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2003
Posts: 127

PostPosted: Tue Jul 29, 2003 1:15 pm    Post subject: FTP through a router Reply with quote

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
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Tue Jul 29, 2003 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
batkins
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2003
Posts: 127

PostPosted: Tue Jul 29, 2003 2:41 pm    Post subject: Reply with quote

a linksys wireless-b
Back to top
View user's profile Send private message
neilhwatson
l33t
l33t


Joined: 06 Feb 2003
Posts: 719
Location: Canada

PostPosted: Tue Jul 29, 2003 2:47 pm    Post subject: Reply with quote

Sorry, never used one. Anyone want to jump in?
_________________
The true guru is a teacher.
Neil Watson
Back to top
View user's profile Send private message
joycea
Apprentice
Apprentice


Joined: 23 Jul 2002
Posts: 191
Location: Kingston, Canada

PostPosted: Tue Jul 29, 2003 5:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum