Networking Forums

Networking Forums > Computer Networking > Linux Networking > SSH port forwarding can't work with vsftpd

Reply
Thread Tools Display Modes

SSH port forwarding can't work with vsftpd

 
 
FJY
Guest
Posts: n/a

 
      10-21-2003, 04:10 AM
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
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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting port forwarding to work, Netgear DG834G Dave Barlow Home Networking 5 06-18-2004 10:44 PM
problem with vsftpd on a non-standard port Jason Linux Networking 0 05-14-2004 03:38 PM
Port forwarding on Conexant 4 port adsl router Graham Russell Broadband 14 10-24-2003 09:16 PM
Port forwarding on Conexant 4 port adsl router Graham Russell Broadband 1 10-17-2003 11:09 AM
Stupid Question: Port Triggering vs. Port Forwarding Bryce Wireless Internet 3 09-09-2003 05:45 AM



1 2 3 4 5 6 7 8 9 10 11