Squid configuration for rsync proxy
To allow RSYNC proxy via Squid, edit squid.conf file:
- add 873 to acl SSL_ports port list
- add 873 to acl Safe_ports port list
- if you want proxy without password, add host at which rsync is running to acl allowed_hosts list
An example:
acl SSL_ports port 443 563 873 # 873 - for rsync acl Safe_ports port 873 # for rsync acl allowed_hosts src 192.168.1.0/24 # trusted host
——————————————————————————————————————————————————————
Set client
export RSYNC_PROXY="Squid_IP:port"