OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • 21.1 Production Series »
  • Download encrypted OPNsense config file via script?
« previous next »
  • Print
Pages: [1]

Author Topic: Download encrypted OPNsense config file via script?  (Read 73 times)

jonf

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
    • View Profile
Download encrypted OPNsense config file via script?
« on: February 20, 2021, 09:33:50 pm »
I found the following thread on this forum...

https://forum.opnsense.org/index.php?topic=15349.0

...but it's just over a year old so I thought I'd start a new thread to ask my question about this.  Is it possible to use some of the commands in that script to also set a password for the config before downloading, just like you'd set one in the web GUI when manually downloading the config?
Logged

jonf

  • Newbie
  • *
  • Posts: 14
  • Karma: 1
    • View Profile
Re: Download encrypted OPNsense config file via script?
« Reply #1 on: February 23, 2021, 11:16:04 am »
Bump.

Perhaps there's an internal command that could be run on the server instead?  Even if it saved a local copy of an encrypted XML config I could probably work out the rest in a script in order to push the file elsewhere (e.g. local file server) for safer keeping as well as scheduling the task.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • 21.1 Production Series »
  • Download encrypted OPNsense config file via script?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2021 All rights reserved
  • SMF 2.0.17 | SMF © 2019, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2