I have a server that allows forwards ssh connections from internet to computers inside the local network. Each computer on the inside has its own port. Here is how to make rsync connect using a custom port:
rsync -vuaR -e "ssh -p 18926" sociologi.cjb.net: .