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

オープン
#5,998 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
php
領域
networking

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
PHP
スター
1.2k
フォーク
932
平均マージ
1日 11時間
マージ済み PR(30日)
22

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opnsense/plugins のほかの issue

opnsense/plugins の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。