OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Migration from pfSense to OPNsense without installation?
« previous next »
  • Print
Pages: [1]

Author Topic: Migration from pfSense to OPNsense without installation?  (Read 6824 times)

der.opnsense.praktiker

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Migration from pfSense to OPNsense without installation?
« on: February 17, 2019, 08:29:00 pm »
Hi all,

is there a way to go from a running pfSense system to OPNsense without installing OPNsense first?

I know the backup-and-restore-method to replace pfSense by OPNsense, but that doesn't work for remote devices.

My concern is: how can I migrate to OPNsense on hardware devices, which are not physically close to me?

Both pfSense and OPNsense run the same operating system, so I hope there is some update path.

I imagine some kind of migration script, that runs on pfSense, collects the OPNsense packages, converts the configuration and magically converts the device to OPNsense.

Cheers,
-Markus
Logged

fabian

  • Hero Member
  • *****
  • Posts: 2769
  • Karma: 200
  • OPNsense Contributor (Language, VPN, Proxy, etc.)
    • View Profile
    • Personal Homepage
Re: Migration from pfSense to OPNsense without installation?
« Reply #1 on: February 17, 2019, 09:35:08 pm »
Such a thing does  not exist but there is a script for a hard replacement in a running FreeBSD installation (not sure if it works):

https://github.com/opnsense/update/blob/master/bootstrap/opnsense-bootstrap.sh
Logged

der.opnsense.praktiker

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Migration from pfSense to OPNsense without installation?
« Reply #2 on: February 18, 2019, 12:01:58 pm »
Well, the script
Code: [Select]
opnsense-bootstrap.sh brings the OPNsense packages to the local system. This seems to run and complete successfully.
However, after a reboot all hell breaks loose: lots of error messages and not even the
Code: [Select]
opnsense-shell output is visible.
I will dive a little deeper into that script issue, but I guess that's not the right way to bring up a stable installation of OPNsense.
Logged

chemlud

  • Hero Member
  • *****
  • Posts: 2488
  • Karma: 112
    • View Profile
Re: Migration from pfSense to OPNsense without installation?
« Reply #3 on: February 18, 2019, 12:04:47 pm »
...yeah, you can even shoot yourself into the foot and as it hurts you conclude you might shoot in the knee to see how this does... ;-)

Logged
kind regards
chemlud
____
"The price of reliability is the pursuit of the utmost simplicity."
C.A.R. Hoare

felix eichhorns premium katzenfutter mit der extraportion energie

A router is not a switch - A router is not a switch - A router is not a switch - A rou....

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Migration from pfSense to OPNsense without installation?
« Reply #4 on: February 18, 2019, 12:06:05 pm »
The whole process of bringing a pfSense to a OPNsense is highly unstable.
Both systems should be considered as own distributions without any automatic migration path.

Only stable way is to configure a new device, send it over and switch. Also there should be a person able to open a connection to LAN via hotspot.

This would be the usual way to migrate (and I did that more than once)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

der.opnsense.praktiker

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Migration from pfSense to OPNsense without installation?
« Reply #5 on: February 18, 2019, 07:59:50 pm »
I guess you are right. I was just hoping there is a simple way...
Thanks for the discussion.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Migration from pfSense to OPNsense without installation?
« Reply #6 on: February 19, 2019, 11:18:22 am »
Config.xml has diverged over the years, less for us than others, but the end result is the same: you cannot login so manual editing is required if you know what to look for.


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Migration from pfSense to OPNsense without installation?
 

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