New plugin proposal: UniFi 5G WAN (net/u5g-wan)

Abierto
#5,998 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
networking

Línea de trabajo

Read the OPNsense plugin contributing guide and the linked tyvsmith/opnsense-unifi-5g plugin to understand the proposed structure and behavior. The issue describes support for a UniFi 5G Max, GRE, DHCPv6 prefix delegation, gateway monitoring, and optional Source NAT, but names no target files or tests. Done means a compatible plugin handles those features and passes compatibility testing.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.

A LAN-connected UniFi 5G Max exposes its cellular connection over GRE, but there’s no official documentation for setting it up with OPNsense. Existing IPv6 setups require significant workarounds, including using SSH to apply extra configuration on the modem.

Describe the solution you'd like

Add a community plugin that sets up one modem as an IPv4 or dual-stack WAN. It creates the GRE tunnel and native gateways, uses DHCPv6 prefix delegation to derive an IPv6 WAN address, and keeps gateway monitoring and optional Source NAT in sync when the prefix changes. Users configure WAN priority and failover in OPNsense.

Describe alternatives you've considered

Manual GRE setup works for IPv4. My earlier IPv6 setup used a separate service to reapply modem settings over SSH.

Additional context

Verified IPv4, IPv6, and automatic IPv6 renumbering during SIM switches on a 5G Max with OPNsense 26.7.10 (amd64). The initial submission would cover that model. I’ll maintain the BSD 2-Clause plugin and handle compatibility testing and user reports.

I built the original prototype a year ago without AI tools. The rewrite used Codex with GPT‑6.2 Sol for authorship, Claude with Fable 5.2 for validation, and Copilot and CodeRabbit for PR review.

This replaces #5997 using the Feature request template.

Lenguaje dominante
PHP
Estrellas
1.2k
Forks
932
Merge medio
1 d 11 h
PR fusionados (30 d)
22

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opnsense/plugins

Todos los issues de opnsense/plugins

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.