SSH port forwarding can't work with vsftpd

This is a discussion on SSH port forwarding can't work with vsftpd within the Linux Networking forums, part of the Linux Forums category; I have a Linux box inside some firewall which blocks the traffic to port under 1024. To bypass this firewall, ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
FJY
 
Posts: n/a
Default SSH port forwarding can't work with vsftpd

I have a Linux box inside some firewall which blocks the traffic to port
under 1024. To bypass this firewall, I run ssh port forwarding on it,
like this:
ssh -g -L 10000:mylinuxbox:22 user@firewall
For example, if port 10000 is not blocked by the firewall, I can access my
Linux box via ssh (port 22) remotely by setting up port forwarding as
above.

However, if I run vsftpd (not wu-ftpd, I guess that'd work) on my Linux
machine, and I again use ssh port forwarding at the firewall:
ssh -g -L 20000:mylinuxbox:21 user@firewall
I can't access my FTP server from outside the firewall even if the FTP
client is in passive mode. The situation is, I can log on the FTP server
remotely, but I can't use ls or get or put. If I do so, the FTP client
hangs up after printing out "227 Entering Passive Mode" and IP/port.

Anyway has experience with this? Maybe there's a lot of confusion here. I
can clarify the case if necessary.
Thanks in advance.

Regards,
FYJ
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:29 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0