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

[Feuture Request] Add templates for VLANs #1713

Closed
enoch85 opened this issue Jul 12, 2017 · 13 comments
Closed

[Feuture Request] Add templates for VLANs #1713

enoch85 opened this issue Jul 12, 2017 · 13 comments
Labels
feature Adding new functionality

Comments

@enoch85
Copy link

enoch85 commented Jul 12, 2017

Let's say I want to set up 200 VLANs with different settings, I'd want this process to be smooth. Right now I have to add both Interface, VLAN tag, DHCP settings, Firewall Settings and so on to all the different hosts.

This could be solved with a template that auto generates new IP address for the new host, creates and interface based on template name, prefills it with firewall settings and leaves me with a predefined VLAN. Voila, you just saved me with a ton of work. :)

It's useful in larger networks and if you just want to divide your network into larger VLANs.

@fichtner
Copy link
Member

I agree. This is a traditional "wizard" use case which we should have, but not until we have replaced the old XML-based wizard for a less arcane approach using our template engine and a simple MVC application.

@fichtner fichtner added this to the Future milestone Jul 12, 2017
@fichtner fichtner added the feature Adding new functionality label Jul 12, 2017
@AdSchellevis
Copy link
Member

Maybe we could do a shortcut here, accept a range when adding a vlan "VLAN tag" 1-255 for example.

@enoch85
Copy link
Author

enoch85 commented Jul 12, 2017

@AdSchellevis Sure, a shortcut would be nice, but is far from a complete solution.

What I mean is a default template where you fill in which default settings you want to apply to each host/interface using the template.

So as I mentioned, firewall settings for example. It could look something like this:

  1. Create a template with all the settings:
  • Firewall rules
  • Which subnet should be used
  • Assignment (interfaces)
  • VLAN tag number (show the next available, like if if 1003 is the latest, suggest 1004)
  • DHCP settings (range for example),
  • If you want to add a range to a specific Alias
  • and so on and so on...
  1. When adding an interface click "use template" then choose from a list.

@AdSchellevis
Copy link
Member

ok, no shortcut, but keep in mind, a request this size is unlikely to mature... (needs api support for all items in your list first, then a solid wizard extension, etc, etc)....

@fichtner
Copy link
Member

what if the new "wizard" is the api and we do the model handling underneath? assuming we have all required models of course...

@AdSchellevis
Copy link
Member

The wizard is not the issue (for example http://www.jquery-steps.com/Examples has some nice options, which might suit our needs), its the size of the request which makes it unlikely to mature.
There's still quite some complexity to migrate all requested modules, while keeping all functionality in tact... just saying, you can ask, but don't be disappointed if the request closes in 6-12 months for lack of progress..

@enoch85
Copy link
Author

enoch85 commented Jul 12, 2017

@AdSchellevis Can't we at least start with something small, and build it from there? For instance, start with your "shortcut" and firewall settings...

I would be fine with a wizard (e.g "Add new VLAN") that gets better and better. At least as a start until everything is in place for a real template.

@AdSchellevis
Copy link
Member

sure, we can do steps which don't break future plans, but not in a wizard to glue all together (which will get very messy if we try to pull old code in)...

So we either solve one issue (can I create multiple vlan's at once, which fits the current screen), or we wait for the module to be rebuild and take it step by step from there (which won't likely mature anytime soon because of the amount of time needed to achieve it).

If your planning to work on parts, try to keep changes small so we can guide you through the process.

@enoch85
Copy link
Author

enoch85 commented Jul 12, 2017

@AdSchellevis Sorry, I don't have the skills, but I'd prefer to keep this open, even in 6-12 months.

Would be awesome if you could work on it.

@AdSchellevis
Copy link
Member

timeout

@enoch85
Copy link
Author

enoch85 commented Mar 24, 2018

:(

@fichtner fichtner removed this from the Future milestone Jul 30, 2018
@lordkitsuna
Copy link

Sad that this died, its the single biggest thing i am missing from Pfsense. trying to setup the rules is insanely tedious and annoying and its filled with trial and error to see if what you are doing is even working. The documentation doesnt really help. Some nice boxes to tick for common use scenarios such as prioritizing common game networks (XBL, Steam, Battlenet etc) as well as common VOIP platforms (Discord, Skype, Slack etc) would go a long way.

@enoch85
Copy link
Author

enoch85 commented Oct 11, 2018

Sad that this died

Agreed.

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

No branches or pull requests

4 participants