restrict access for rsync

Paul Slootman paul at debian.org
Thu Apr 22 11:21:38 GMT 2004


On Thu 22 Apr 2004, hulo at pinkponk.com wrote:
> 
> i have network 10.42.20.0/24. Every machine has installed rsync. How to wrapp 
> them(all machines), that only one of them (10.42.20.43) should has access to 
> all of them. Is solution in /etc/hosts.allow, deny?

Do you have rsync running as a daemon, or are you using ssh?
If rsync is running as a daemon, put this at the top of the rsyncd.conf
file:

hosts allow = 10.42.20.43/32

If you're using ssh, then it's more difficult, depending on whether ssh
connections are to be permitted between all systems or not.


Paul Slootman


More information about the rsync mailing list