I'm trying to rsync outside of a VPN connection. I have a CentOS 6.4 machine that has an open VPN connection, that capable of roughly 10Mbps, whereas the WAN connection is 40Mbps. I'm trying to rsync from mirrors.usc.edu, and would obviously prefer to bypass the VPN connection.
rsync --address="IP address" --delay-updates -aq --delete --delete-excluded --exclude "local*" --exclude "isos" --exclude "i386" rsync://mirrors.usc.edu/centos/6.4/ /mount-point >> /var/log/rsync.log 2>&1
IP address is the server's NIC IP, not the VPN IP. It works fine when the VPN isn't connected. When it is connected, I get an error in the log:
rsync: failed to connect to mirrors.usc.edu: Connection timed out (110)
rsync error: error in socket IO (code 10) at clientserver.c(124) [receiver=3.0.6]
Any suggestions on how this could be done? Specifically, I'm trying to pull with rsync while a VPN is connected, but not have it route down the VPN.