导航

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"

 

Powered By Jimmy Chen
Copyright © LYHONK All Rights Reserved