I am installing macports on my Mac OS X and for fetching the binaries from the repository it uses rsync protocol. Unfortunately seems the repository is not accessible by direct connection from my machine. So I ran a local proxy program (supports http, https, ftp and socks) and now trying to find out how to redirect the rsync connection through my proxy. Is there anybody who knows about this? Cheers,
So assuming your proxy is on port 3128,
If you use squid for your web proxy, add the two center lines to squid.conf (/etc/squid/squid.conf on most unix systems, or /opt/local/etc/squid/squid.conf in MacPorts):
Then, from a shell (if this works you can look at setting it up permanently), type:
If your proxy requires a password:
If the above is impossible for you to set up, you can also try this. It requires that you have access via ssh to a server that can act as a proxy.
The ssh server will have to have 'netcat' installed, almost all do. If not, it can be installed using something similar to: