While working with a shared IP address group through MyKerio Cloud portal, the IP list suddenly disappeared. The list was containing suspicious IP addresses in order to block network intruders.
This article provides information on how to restore the shared definitions IP list from the existing Kerio Control backup.
- Download the latest backup available from MyKerio backups. Usually, it's configuration backup from yesterday.
- Extract the
.tar.gzarchive and open
- Find the necessary IP address group. It is located under
<list name="IpAccessList" identityCounter="X">
- Find all the shared definition list items. They have SharedId variable set to a custom number (not equal to 0).
- Replace all SharedId values with 0 (zeros). You can use Regex search/replace using 3rd-party tools, such as Notepad++ or VS code.
- Copy all the necessary list items to a separate file, i.e. IPGroup.txt.
- Access your Kerio Control via SSH.
- Make the system writeable by executing the following command:
mount -o rw,remount /
- Open winroute.cfg file using Nano editor.
IpAccessListand paste the content of the IPGroup.txt in this table.
Note: consider creating a separate test IP address group in Webadmin beforehand, so it will not cause a discrepancy.
- Save the file changes:
CTRL+Xand Yes to write the changes.
- Restart your firewall:
Review the IP group list and confirm that it is now in your Kerio Control Firewall.
Proceed to import the IP address group back to MyKerio.