New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
How to whitelist another server's IP and keep this server secure
Hello,
I need to sync files from the main server to a remote server with the "rsync" command in a crontab job which runs every a few hours, however I can't sync files successfully without whitelisting another server's IP with csf on both side. I'm concerned that adding the remote server's IP address to the whitelist of the main server, will cause the security issue, if the remote server is hacked, is my main server in dangerous? How can I do it in a secure and reliable way?
Thanks a lot.
Regards.
Comments
It depends on what port are you allowing connections. It also depends on how secure the apps listening to those ports are.
If you are worried about this, do not pipe it over ssh unless on a nobody or equivalent user.