What is the difference between local port forwarding (-L) and remote port forwarding (-R)

From: Yann Laviolette (yann_laviolette_at_gnome.org)
Date: 04/27/04


Date: 27 Apr 2004 00:10:21 -0700

Hi!

I need to do an SSH tunnel to encrypt the data sent between an agent
and a the server. I'm able to establish a tunnel but there's something
that I can't understand...

What is the difference between the bit -L and the bit -R. I've read
the man of SSH on Fedora. It's seems to be simple but in practice, I
don't understand.

Can somebody help me on this subject?

Thanks a lot!

Yann



Relevant Pages

  • RE: Secure / Encrypt Terminal Services
    ... I do this regularly using an SSH tunnel. ... to a file and edit the port you connect on. ... Secure / Encrypt Terminal Services ...
    (Focus-Microsoft)
  • NOQUEUE messages when using SSH tunnel
    ... I have configured an SSH tunnel on a new laptop, ... send mail through my server I get the following familiar message: ... Is this issue with Sendmail or my mail client/tunnel setup? ... -- My client is configured to 'localhost:2500' for outgoing mail. ...
    (comp.mail.sendmail)
  • Re: OT: BBC iPlayer
    ... they can run the proxy for you. ... In summary your task is to set up an SSH tunnel to your server in the UK, there are many resources on the internet which instruct you how to do this; but this is my brief take on it, others may care to "flesh" it out. ... forward an outside port say 5122 to port 22 on your server. ...
    (uk.comp.sys.mac)
  • Re: IPSec VPN into XP Pro
    ... XP can act as an IPSEC server.. ... My Networking Blog: http://www.networkblog.net ... >any firewall/NAT/router at the server end to the private LAN IP of the PPTP VPN server. ... The SSH tunnel is encrypted end-to-end and is very easy to setup and use, ...
    (microsoft.public.windowsxp.work_remotely)
  • Exim4 synchronization error over ssh tunnel
    ... I'm using a ssh tunnel between my local smtp server and the one running on ... Now I get synchronization errors on every incoming smtp connection ...
    (Debian-User)