Skip to content

Sonicwall config won't work if you need to restore firewall configuration #3630

@SaraArt77

Description

@SaraArt77

Hello, I am saving Sonicwall Firewall settings (i use Oxidized via LibreNMS) and configs are created.

If I try a restore, it fails because there are many errors while importing (e.g. Error encountered on line number 103 at '^' marker:) and if anyway I commit changes, the firewall won't start.

The file in fact has all the information needed, but it differs from the TXT file I can create via CLI (there are spaces).

Looking at sonicos.rb file I see it calls the show current config command
When I export manually Sonicwall configuration in txt file I have to launch two different commands (config and then export current-config cli ftp or export current-config exp ftp with the ftp path, credential and file name

I thank you all very much
Sara

Operating System: Ubuntu 24.10
Kernel: Linux 6.11.0-29-generic
Oxidized-0.34.3
LibreNMS 25.9.0-dev.35+954eb5386

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions