rsync 873/tcp
rsync stream tcp nowait root /usr/bin/rsync rsyncd --daemon
path = /var/rsync/./module1
path = /home/%RSYNC_USER_NAME%
syslog tag = rsyncd.%RSYNC_USER_NAME%
uid = %RSYNC_USER_NAME% gid = *
auth users = joe:deny @guest:deny admin:rw @rsync:ro susan joe sam
auth users = , joe:deny, @Some Group:deny, admin:rw, @RO Group:ro
fe80::1%link1 fe80::%link1/64 fe80::%link1/ffff:ffff:ffff:ffff::
refuse options = c delete
refuse options = delete-* !delete-during
refuse options = * !a !v !compress*
refuse options = * no-iconv !a !v
refuse options = * !a !delete !delete-during
refuse options = * !a !delete* delete-after
&include /path/rsyncd.d
&include /path/rsyncd.d/bar.conf &include /path/rsyncd.d/baz.conf &include /path/rsyncd.d/foo.conf
port = 873 log file = /var/log/rsync.log pid file = /var/lock/rsync.lock &merge /etc/rsyncd.d &include /etc/rsyncd.d
frontend fe_rsync-ssl bind :::874 ssl crt /etc/letsencrypt/example.com/combined.pem mode tcp use_backend be_rsync backend be_rsync mode tcp server local-rsync 127.0.0.1:873 check send-proxy
stream { server { listen 874 ssl; listen [::]:874 ssl; ssl_certificate /etc/letsencrypt/example.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/example.com/privkey.pem; proxy_pass localhost:873; proxy_protocol on; # Requires rsyncd.conf "proxy protocol = true" proxy_timeout 1m; proxy_connect_timeout 5s; } }
[ftp] path = /home/ftp comment = ftp export area
uid = nobody gid = nobody use chroot = yes max connections = 4 syslog facility = local5 pid file = /var/run/rsyncd.pid [ftp] path = /var/ftp/./pub comment = whole ftp area (approx 6.1 GB) [sambaftp] path = /var/ftp/./pub/samba comment = Samba ftp area (approx 300 MB) [rsyncftp] path = /var/ftp/./pub/rsync comment = rsync ftp area (approx 6 MB) [sambawww] path = /public_html/samba comment = Samba WWW pages (approx 240 MB) [cvs] path = /data/cvs comment = CVS repository (requires authentication) auth users = tridge, susan secrets file = /etc/rsyncd.secrets
tridge:mypass susan:herpass