Changes

Jump to navigation Jump to search
1,101 bytes added ,  17:16, 14 November 2010
using RSYNC_CONNECT_PROG from behind a firewall
export RSYNC_PROXY=username:password@proxyhost:proxyport
 
Sometimes, when behind a firewall, port 873 may be closed for outgoing TCP connections. If port 22 is open for ssh connections, a trick that can be used is to connect to a computer located somewhere outside of the firewall and to tunnel port 873 (using the program <code>nc</code>).
 
export RSYNC_CONNECT_PROG='ssh tunnelhost nc %H 873'
 
where <code>tunnelhost</code> is the machine outside of the firewall on which you have <code>ssh</code> access. Of course, this machine must have <code>nc</code> and port 873 open for outgoing TCP connections.
== Usage ==
or set the variable permanently as a Windows environment variable.
Sometimes, when behind a firewall, port 873 may be closed for outgoing TCP connections. If port 22 is open for ssh connections, a trick that can be used is to connect to a computer located somewhere outside of the firewall and to tunnel port 873 (using the program <code>nc</code>).
 
export RSYNC_CONNECT_PROG='ssh tunnelhost nc %H 873'
 
where <code>tunnelhost</code> is the machine outside of the firewall on which you have <code>ssh</code> access. Of course, this machine must have <code>nc</code> and port 873 open for outgoing TCP connections.
== Usage ==
148

edits

Navigation menu