Squid configuration for rsync proxy --- rsync 代理设置及squid代理服务器相关配置
Posted on 2015-06-09 14:32 Jimmy_Chen 阅读(1696) 评论(0) 编辑 收藏 举报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"