Networking Forums

Networking Forums > Computer Networking > Linux Networking > Forward Port 20 on Server

Reply
Thread Tools Display Modes

Forward Port 20 on Server

 
 
Buck Turgidson
Guest
Posts: n/a

 
      02-05-2005, 01:18 PM
I am trying to use ftp in a tunnel using PuTTY on a Windows client. I
know it is problematic, but I have been reading that if I don't use
passive mode, and forward port 20 on the server to 22, it might work.

I can easily configure PuTTY to forward ports, but how do I get a linux
server (behind a cable router) to forward 20 to 22?

I am using SuSE 9.1 I don't have any firewall running, since I have the
router.
 
Reply With Quote
 
 
 
 
Tauno Voipio
Guest
Posts: n/a

 
      02-05-2005, 02:04 PM
Buck Turgidson wrote:
> I am trying to use ftp in a tunnel using PuTTY on a Windows client. I
> know it is problematic, but I have been reading that if I don't use
> passive mode, and forward port 20 on the server to 22, it might work.
>
> I can easily configure PuTTY to forward ports, but how do I get a linux
> server (behind a cable router) to forward 20 to 22?
>
> I am using SuSE 9.1 I don't have any firewall running, since I have the
> router.


You need to tunnel both TCP ports 20 and 21 to make FTP function.

FTP is a notoriously insecure protocol. That may be the cause
of not allowing it in your set-up.

I'd recommend to use the SSH services instead. For file transfer,
WinSCP works well under Windows.

--

Tauno Voipio
tauno voipio (at) iki fi

 
Reply With Quote
 
Buck Turgidson
Guest
Posts: n/a

 
      02-05-2005, 03:56 PM
> You need to tunnel both TCP ports 20 and 21 to make FTP function.
>
> FTP is a notoriously insecure protocol. That may be the cause
> of not allowing it in your set-up.
>
> I'd recommend to use the SSH services instead. For file transfer,
> WinSCP works well under Windows.


I have a client that only supports FTP. I would imagine that if it is
tunnelled in ssh, it is as secure as ssh itself. I know about 21 forwarded
at the client, but I understand that 20 needs to be forwarded at the server
to 22, which I don't know how to do.


 
Reply With Quote
 
bhasi
Guest
Posts: n/a

 
      02-05-2005, 05:10 PM
Get ssh client from ssh.com. You can do Secure FTP.

Bhaskar

 
Reply With Quote
 
Tauno Voipio
Guest
Posts: n/a

 
      02-05-2005, 08:01 PM
Buck Turgidson wrote:
>>You need to tunnel both TCP ports 20 and 21 to make FTP function.
>>
>>FTP is a notoriously insecure protocol. That may be the cause
>>of not allowing it in your set-up.
>>
>>I'd recommend to use the SSH services instead. For file transfer,
>>WinSCP works well under Windows.

>
>
> I have a client that only supports FTP. I would imagine that if it is
> tunnelled in ssh, it is as secure as ssh itself. I know about 21 forwarded
> at the client, but I understand that 20 needs to be forwarded at the server
> to 22, which I don't know how to do.
>
>


I it is a normal FTP, TCP/20 is tunneled to TCP/20 and
TCP/21 is tunneled to TCP/21 (server ports). The client
may use ephemeral ports, if it is not expected that the
server opens a data connection to the client (active
download).

In a normal set-up, TCP port 22 is for SSH.
--

Tauno Voipio
tauno voipio (at) iki fi

 
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
How do I setup a simple port forward on Windows Server 2003? limr Windows Networking 7 01-15-2009 04:23 PM
Port Forward to IP Steve Windows Networking 1 10-31-2006 06:58 PM
how to port forward on windows server 2003 SBS =?Utf-8?B?TmljayBTbWl0aA==?= Windows Networking 5 11-08-2004 10:19 PM
Forward a port mac Broadband Hardware 1 05-21-2004 02:26 AM
How do oyu port forward with a MN-500? Hiei Broadband Hardware 1 05-08-2004 10:34 PM



1 2 3 4 5 6 7 8 9 10 11