Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFE] Import pfSense Config #28

Closed
fraenki opened this issue Jan 14, 2015 · 17 comments
Closed

[RFE] Import pfSense Config #28

fraenki opened this issue Jan 14, 2015 · 17 comments
Assignees
Labels
feature Adding new functionality help wanted Contributor missing / timeout
Milestone

Comments

@fraenki
Copy link
Member

fraenki commented Jan 14, 2015

I think it would greatly ease migration to OPNsense if it would be possible to import a pfSense configuration. I don't care for the RRDs, but only the configuration.

This would make it easier for people to test OPNsense with their real-world configuration and possibly attract more people to try OPNsense.

Maybe this should be implemented alongside the OPNsense config backup/import feature (to allow OPNsense to diverge more from pfSense over time). Well, I guess it would be OK to support only the stable version of pfSense (not every old release).

@jschellevis
Copy link
Member

In theory it should be possible to import the pfsense config from version 2.1.5 or earlier.. minus packages that is. However I think there is one small issue that prevents it to work now. I think the theme pfsense can't be found and there is no fallback.. I'll look into it, but we also need a more permanent solution at least for older pfsense branches.. don't think we like to keep supporting newer versions op pfSense as we would need to keep track of their changes..

@fichtner
Copy link
Member

FWIW, I added a theme upgrade to the migration. This is just a work around. We need substantial reworks of the config file handling and migration. The handling of the root tag is weirdly hardcoded to . More on this soon.

@AdSchellevis
Copy link
Member

Nice! I'm working on the model / config in Phalcon to glue the new framework parts together. Maybe the most practical solution is to try to create a bridge like feature to the new config class as soon as this is kind of "feature complete".

@jschellevis
Copy link
Member

Import works for pfsense configurations of 2.1.5 or earlier. Packages are not supported and Captive portal functionality differs.

@skarekrow
Copy link
Contributor

Are there still plans to support migration from pfsense >=2.2? I'm sure others are like me, watching this project grow before they replace their setups. I have enough things that manually migrating would be frustrating. I understand if this isn't a priority, just checking if it's still on the roadmap or not.

@mircsicz
Copy link

+1 for me...

Just got an APU to replace my ALIX and I'ld like to switch, but with half a dozen IPSec's and some OpenVPN's it's nothing I could reconfigure in an hour!

@fichtner
Copy link
Member

I'll reopen, but no promises or ETA. It's a lot of work and I don't want users to expect this works flawlessly...

@fichtner fichtner reopened this Aug 20, 2015
@fichtner fichtner added feature Adding new functionality help wanted Contributor missing / timeout labels Aug 20, 2015
@fichtner fichtner added this to the 16.1 milestone Aug 20, 2015
@fichtner fichtner self-assigned this Aug 20, 2015
@fichtner
Copy link
Member

We've recently fixed a theme import issue, and I'll push a needed user cleanup as well. This is stuff for 2.1.5 but looks like it improves reliability a lot.

As for 2.2.x, I'd recommend changing version line to

<version>11.1</version>

And try it out the config import in a VM to see if it boots and retains its settings. Unless I get some feedback/testing, I'm not able to continue as I don't have a 2.2.x config nor will have one so I am relying on user contributions. :)

fichtner added a commit that referenced this issue Sep 20, 2015
@fichtner
Copy link
Member

Any feedback regarding 2.2.x imports using the above workaround? 2.1.5 seems to work fine since the last fix, at least I haven't heard of any issues.

@skarekrow
Copy link
Contributor

Sorry @fichtner I haven't tried it myself. Been quite busy. But I also have stuck to pfsense for the time being as I needed altq. I was unable to find a way to view any traffic shaping statistics in opnsense. So I haven't jumped ship yet :(

@fichtner
Copy link
Member

that's alright @skarekrow maybe you can let me know what you are looking for in shaping statistics :)

@skarekrow
Copy link
Contributor

@fichtner just basic statistics showing me the bits/kbits/mbits a second for each pipe/queue it is in. Nothing fancy is needed like pfsense's page, but something like m0n0wall had on it's /status.php page would be great.

I can open a separate issue as a enhancement request if you wish :)

@fichtner
Copy link
Member

@skarekrow We do have a limiter status and a status.php -- might it already be there?! If m0n0wall had it it might be trivial to fix if not. :)

@skarekrow
Copy link
Contributor

@fichtner I checked the status.php last with opnsense and I did not see it, it was quite a night, so I may have missed something! Limiter info doesn't seem to show me packets and what queue they are passing into. Maybe I am also missing something there?

@fichtner
Copy link
Member

Don't think so, thanks for the feedback :) #450

@skarekrow
Copy link
Contributor

No problem, responded there :)

@fichtner
Copy link
Member

fichtner commented Jan 7, 2016

I'm going to close this for good, very few people have asked for this since , workarounds seem to function, and the configs have drifted apart further. With new versions around the corner for both projects, it comes down to picking the one that works and sticking with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Adding new functionality help wanted Contributor missing / timeout
Development

No branches or pull requests

6 participants