Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Where to restore aliases backup
« previous
next »
Print
Pages: [
1
]
Author
Topic: Where to restore aliases backup (Read 3523 times)
senseivita
Newbie
Posts: 36
Karma: 0
Where to restore aliases backup
«
on:
January 06, 2019, 03:42:22 am »
Hey guys, first post
I just moved to OPNsense and but it updated on me and lost the ability to import aliases and I have a ton (I'm coming from the other *sense) so I thought I'd outsmart it and deployed a local VM with it, extracted the aliases from the other platform's XMLs imported them into the dummy OPNsense to export them back out into an OPNsense native backup and merge them with the current config now almost stable.
However, when I went to the working install I couldn't quite figure out where to put merge the backup in. I only modified aliases in the dummy OPNsense, nothing else, not even the initial setup except for the interfaces (about 2 dozen vs 1 in the dummy) and the aliases there should be nothing to overwrite...I think.
I exported a backup from the working install searched for the alias lists and compared it to the backup from the dummy install and I saw that they're nothing alike, so there went my chances merging it myself, manually...plus I tried editing one of these files before and I guess it was digitally signed or something because I broke down horribly.
The best fit to restore them would be under Firewall, but there's no such option, the way it's listed it sorf of screams
not here
. Then I thought maybe DNS, because they're aliases...but System could work as well because they work system-wide. I'm going a little insane here. If you have any advice to offer I'd be immensely grateful ! <3
Logged
I'm a bit dyslexic and it makes me forgo letters at the end of words. What gets written is written correctly though, I have good orthography in one or two languages, ironically. It's messed up, I know, I'm sorry. Just pretend you're my auto-complete.
chemlud
Hero Member
Posts: 2454
Karma: 112
Re: Where to restore aliases backup
«
Reply #1 on:
January 06, 2019, 11:41:18 am »
The Alias stuff is under reconstruction, see here
https://forum.opnsense.org/index.php?topic=10260.0
...I think I installed the firewall rules from a pfsense config.xml and got the aliases for free ;-)
You can copy/paste them in the GUI (CSV) or use the API, as outlined in other recent posts on this topic.
But I also did the hard way, creating them in OPNsense GUI with 3 IPs/URLs and copying in the rest into the OPNsense config.xml, as outlined above.
Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare
A router is not a switch - A router is not a switch - A router is not a switch - A rou....
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
18.7 Legacy Series
»
Where to restore aliases backup