Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
Remote OPNSense and auto-reverting to earlier config?
« previous
next »
Print
Pages: [
1
]
Author
Topic: Remote OPNSense and auto-reverting to earlier config? (Read 970 times)
AlwaysLearning
Newbie
Posts: 2
Karma: 0
Remote OPNSense and auto-reverting to earlier config?
«
on:
August 09, 2021, 06:54:26 pm »
I have a remote OPNSense router where I really don't want a config change to make it inaccessible to me without having to physically go to the router.
Ideally it would be great to have OPNSense revert to a previous config if after some time (5 minutes) I do not tell it to "keep" the new config.
Would a reverting script and cron provide some of this basic function and protection?
Logged
Patrick M. Hausen
Hero Member
Posts: 6825
Karma: 573
Re: Remote OPNSense and auto-reverting to earlier config?
«
Reply #1 on:
August 09, 2021, 07:39:44 pm »
That does probably not help you with your current situation but ZFS boot environments are precisely created for that purpose. I.e. boot into the updated BE once, and if the system is power-cycled afterwards, boot into the previous one.
I can think of a method to achieve this via command line *now* if you run on ZFS, but it would be great to see some support in the UI, of course.
Let's give the devs some time to manage the switch to FreeBSD 13 and open a feature request after that, shall we?
I can give a command line method a try when the next regular update to 21.7 is published and report back.
Kind regards,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
AlwaysLearning
Newbie
Posts: 2
Karma: 0
Re: Remote OPNSense and auto-reverting to earlier config?
«
Reply #2 on:
August 09, 2021, 07:45:29 pm »
I would welcome any possible solution or hack for the time being.
An eventual officially supported solution would be really welcome in the end.
«
Last Edit: August 09, 2021, 08:01:28 pm by AlwaysLearning
»
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
Remote OPNSense and auto-reverting to earlier config?