OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • [solved] possibility to decrypt a config file without restoring it?
« previous next »
  • Print
Pages: [1]

Author Topic: [solved] possibility to decrypt a config file without restoring it?  (Read 830 times)

3x3cut0r

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
[solved] possibility to decrypt a config file without restoring it?
« on: September 07, 2023, 08:18:45 am »
is it possible to decrypt an encrypted config file without using opnsense, i.e. recovery?
i ask because i want to look up something in an old config i created.
(and yes i still have the corresponding password)

thank you so much
« Last Edit: September 09, 2023, 12:37:58 pm by 3x3cut0r »
Logged
OPNsense 23.7 VM  <=  DrayTek Vigor 165 (vDSL2 35b 250/50)
         \/
on Proxmox 8.0
         \/
on Minisforum HM90

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15589
  • Karma: 1349
    • View Profile
Re: possibility to decrypt a config file without restoring it?
« Reply #1 on: September 07, 2023, 11:23:38 am »
The new opnsense-crypt tool can do this on the command line, but it still needs an OPNsense due to requiring the backup class. Doesn't make sense to publish a standalone tool.


Cheers,
Franco
Logged

3x3cut0r

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: possibility to decrypt a config file without restoring it?
« Reply #2 on: September 07, 2023, 01:59:04 pm »
ok that is fine. i have one ... i just do not want to recover the config. so how can i do it on my opnsense on the command line?
Logged
OPNsense 23.7 VM  <=  DrayTek Vigor 165 (vDSL2 35b 250/50)
         \/
on Proxmox 8.0
         \/
on Minisforum HM90

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 15589
  • Karma: 1349
    • View Profile
Re: possibility to decrypt a config file without restoring it?
« Reply #3 on: September 07, 2023, 02:13:09 pm »
Sure, check the following

# man opnsense-crypt


Cheers,
Franco
Logged

3x3cut0r

  • Newbie
  • *
  • Posts: 32
  • Karma: 0
    • View Profile
Re: possibility to decrypt a config file without restoring it?
« Reply #4 on: September 09, 2023, 12:37:15 pm »
Thank you,
solved
Logged
OPNsense 23.7 VM  <=  DrayTek Vigor 165 (vDSL2 35b 250/50)
         \/
on Proxmox 8.0
         \/
on Minisforum HM90

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Tutorials and FAQs »
  • [solved] possibility to decrypt a config file without restoring it?
 

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