MacPorts relies on rsync to do its job, and I rely on a SOCKS5 proxy to get full access to internet. How do I make rsync run all its queries through my proxy?
How to use MacPorts (rsync) through a SOCKS5 proxy
mac-osxPROXYrsyncsocks
mac-osxPROXYrsyncsocks
MacPorts relies on rsync to do its job, and I rely on a SOCKS5 proxy to get full access to internet. How do I make rsync run all its queries through my proxy?
Best Answer
Alternatively to Sirex' answer, you can use
nc(1)
(netcat) to use the proxy.Again, modify your
~/.ssh/config
file:then run
and rsync (or rather ssh) will automatically use the proxy command.
This assumes there is a SOCKS proxy running on
localhost
port 8080, which you can get withPersonally I use
to set up a proxy tunnel, where
-qfxN
make the command run quietly in the background, seessh(1)
.