OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Migrating from pfSense
« previous next »
  • Print
Pages: [1]

Author Topic: [SOLVED] Migrating from pfSense  (Read 8854 times)

dwasifar

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 3
    • View Profile
[SOLVED] Migrating from pfSense
« on: February 03, 2018, 03:37:17 am »
Is it possible to migrate from pfSense to OPNsense using a pfSense backup xml file?
« Last Edit: October 17, 2018, 10:44:14 pm by franco »
Logged

onefix

  • Newbie
  • *
  • Posts: 7
  • Karma: 4
    • View Profile
Re: Migrating from pfSense
« Reply #1 on: February 03, 2018, 03:50:16 am »
Yes.  There are a few caveats regarding 3rd party packages (such as pfBlockerNG), but all of the settings that exist on a base install of pfSense should come over fine.

That having been said, OPNsense has a slightly different design philosophy than pfSense.  To clean up after my pfBlockerNG config, all I did was disable the aliases and firewall rules created by pfBlockerNG and remove the extra settings it added to the Unbound config.

If you're looking to duplicate pfBlockerNG, here is a good page on that.

http://www.routerperformance.net/opnsense/using-pfblocker-features-in-opnsense/

It will also open your eyes to the different design theories followed by OPNsense.
Logged

3kj2w

  • Newbie
  • *
  • Posts: 26
  • Karma: 4
    • View Profile
Re: Migrating from pfSense
« Reply #2 on: February 05, 2018, 11:59:44 am »
I was testing in VirtualBox importing config from pfsense 2.3.x:
- my problem was that if I imported all settings or only system section with users data-account-password I was unable to log in GUI, for some reason old passwords from pfsense 2.3.x did not work in opnsense 18.1.

To solve this problem I have to add original/default root user and password from a saved OPNsense config, then I can log and after that I can change passwords back for all imported users.

p.s.
Importing all settings seem to retain all old packages and data even are not used by OPNsense so I do not recommend.

suggestion:
will be nice to have option to select multiple sections at import list.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Migrating from pfSense
« Reply #3 on: February 05, 2018, 01:41:46 pm »
The password was changed in an incompatible way: we still use the old style so that naturally breaks when trying to go backwards with a newer config. I would guess the other way around still works fine. ;)


Cheers,
Franco
Logged

dwasifar

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 3
    • View Profile
Re: Migrating from pfSense
« Reply #4 on: October 11, 2018, 03:44:37 am »
I finally got around to trying this.  As mentioned, I had to paste an OPNsense user into the pfSense config file to be able to log in afterwards, but on cursory examination it looks like everything else came over fine.

In case anyone is wondering why I'm switching, there are two reasons: 1) The opnsense.com story, and  2) AES-NI.  'Nuff said, I think.
« Last Edit: October 11, 2018, 03:46:25 am by dwasifar »
Logged

dwasifar

  • Jr. Member
  • **
  • Posts: 72
  • Karma: 3
    • View Profile
Re: Migrating from pfSense
« Reply #5 on: October 12, 2018, 06:22:58 am »
Success!  OPNsense operating with very few tweaks needed.  Right now it's on an interim device (an old PC, actually) so I can watch it for a day or two before switching the actual production device (a Watchguard 515).
Logged

bsiege

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: [SOLVED] Migrating from pfSense
« Reply #6 on: December 01, 2018, 09:57:14 pm »
Now, December 2018, every attempt to migrate from 2.2.4 to 18.7 via backup fails in early stages. Even with single parts like Interfaces, DHCP or Rulesets. Trying with spare APU. Sometimes even fully freeze after startup beep. Have many Rules, many dhcp fixed leases. Fully IPv4 and IPv6 usage. Multiple subnets. Three physical interfaces, one with 5 VLAN's. Im not complaining, but i think the differences are now too big. For me the effort to rebuild the configuration is too expensive. Maybe there is a way over API.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: [SOLVED] Migrating from pfSense
« Reply #7 on: December 01, 2018, 11:15:25 pm »
No, API wont do this. To be honest, if the system itself doesnt convince you to do the extra work setting up from scratch, you should stay with it :) every system has it's advantages
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: [SOLVED] Migrating from pfSense
« Reply #8 on: December 03, 2018, 09:39:28 am »
It's been 4 years, for better or worse. ;)


Cheers,
Franco
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • [SOLVED] Migrating from pfSense
 

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