public marks

PUBLIC MARKS from camel with tags ssh & firewall

25 March 2008 13:45

SSH dynamic port forwarding with SOCKS

SSH has numerous uses beyond just logging into a remote system. In particular, SSH allows you to forward ports from one machine to another, tunnelling traffic through the secure SSH connection. This provides a convenient means of accessing a service hosted behind a firewall, or one blocked by an outgoing firewall. However, forwarding an individual port still requires you to change where your program connects, telling it to use a non-standard port on localhost rather than the standard port on the remote machine, and it requires a separate port forward for each machine you want to access. Dynamic port forwarding via SOCKS provides a more convenient alternative. The examples in this article assume that you reside behind a restrictive firewall which does not allow outgoing SMTP connections except to a designated mail server. You want to connect to a different mail server, mail.example.net, on port 25. You have an SSH account on a machine shell.example.org, which does not reside within the restrictive firewall and can thus access port 25 on mail.example.net.

camel's TAGS related to tag ssh

admin +   administration +   apache +   archive +   backup +   blog +   box +   brute force +   chroot +   cluster +   configuration +   connexion +   control +   copy +   debian +   denyhosts +   dev +   dns +   documentation +   edit +   file +   filesystem +   firewall +   fon +   format +   forward +   framework +   ftp +   gestion +   gnome +   google +   guide +   howto +   html +   http +   images +   install +   linux +   list +   livre +   log +   mail +   mysql +   nfs +   php +   pocket +   proxy +   remote +   replication +   restriction +   reverse +   routeur +   rsync +   sauvegarde +   script +   secure +   security +   server +   serveur +   setup +   sftp +   shell +   site +   ssl +   standard +   svn +   sysadmin +   system +   tail +   tools +   transfert +   tunnel +   tunnels +   tutorial +   tutoriel +   ubuntu +   vnc +   web +   windows +   xen +