Sometimes you may need to install Imunify360 on several servers with identical configurations or copy existing configs to other servers. Here you can find the list of steps on how to clone the installation of Imunify360 for several servers with identical configuration.
Firstly, Imunify360 usual installation comes. All necessary changes including integration with 3rd party components will be applied during installation & agent startup.
Secondly, copy the following files from the existing installation.
- /usr/share/i360-php-opts/rules_whitelist (if it exists)
All required settings will be picked up and applied automatically.
Whitelists / Blacklists / Blocked Ports
Whitelist and blacklist entries that are distributed as files can be found at /etc/imunify360/whitelist/*.txt and /etc/imunify360/blacklist/*.txt
Finally, if you want to export local Imunify360 firewall entries and then import them into a new Imunify360 instance, use the following CLI command
imunify360-agent blacklist [subject] [command] <value> [--option]
imunify360-agent blocked-port [command] <value> [--option]
imunify360-agent whitelist [subject] [command] <value> [--option]