Skip to content

rsync-ssl confusion #322

Answered by WayneD
Danathar asked this question in Q&A
May 19, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

See https://download.samba.org/pub/rsync/rsyncd.conf.5#SSL_TLS_Daemon_Setup for 2 example setups. They are both proxy setups, and expect that you use the Proxy Protocol standard that haproxy invented and nginx supports (which ensures that rsync gets the real IP info from the proxy side of the connection). If you do any IP-based rsync authentication, be sure that you limit access to rsync's non-tls port, as you don't want someone connecting to the backend port and pretending to be a proxy. If you don't have haproxy or nginx installed, I suggest going with haproxy as it is super small and super simple -- it just proxies things, and does it well.

A forking approach is also possible, but is n…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Danathar
Comment options

Answer selected by Danathar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants