Migrate firewall configuration to NethSecurity: https://github.com/NethServer/nethsecurity
Migrate to another machine¶
Execute on NS7:
Generated file can be found at
Access the NethSecurity installation and upload the
export.tar.gz archive using SSH,
firewall-migrate procedure will requires about 400MB of free disk space.
The script will:
- prepare a NethSecurity image containing the firewall export archive
- write the image to the target disk
- reboot the system with the newly installed NethSecurity
At first boot, NethSecurity will automatically import the configuration.
Test the image build process:
- if no error occurs, verify the
To start the migration process, pass the target device as first argument:
NOTE: The script will wipe the NethServer installation. The script does not ask for confirmation!
The downloaded image is preserved to speed up multiple firewall-migrate runs. To cleanup existing images and download a new one on next run, execute:
rm -rf /usr/share/nethserver-firewall-migration-builder/
The following features will not be exported:
- Web proxy (Squid)
- UPS (NUT)