Squid configuration for rsync proxy --- rsync 代理设置及squid代理服务器相关配置

Squid configuration for rsync proxy

To allow RSYNC proxy via Squid, edit squid.conf file:

  1. add 873 to acl SSL_ports port list
  2. add 873 to acl Safe_ports port list
  3. 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"
原文地址:https://www.cnblogs.com/lyhonk/p/4563485.html