Skip to content

net: WAN without IPv6 takes no RAs; webui: WAN removal takes its references along - #128

Merged
Cd1s merged 1 commit into
mainfrom
fix/wan-ipv6-off-and-ui-wan-refs
Oct 16, 2026
Merged

Cd1s merged 1 commit into
mainfrom
fix/wan-ipv6-off-and-ui-wan-refs

Conversation

@Cd1s

@Cd1s Cd1s commented Oct 16, 2026

Copy link
Copy Markdown
Owner

What

Why

  • With ipv6: false a DHCP WAN kept accept_ra=2, its SLAAC address (dhcpcd persistent) and the RA default route, so IPv6 could not be turned off.
  • Deleting a multi-dial WAN in the UI could not be saved (policy_routes[0].via: unknown wan "wan2"), and nothing told the user what else to remove.

Verification

  • sudo ./tools/ci.sh: ALL CHECKS PASSED (new Go test, i18n check with the added strings).
  • wanRefs exercised with node against a multi-dial config: deleting wan2 lists and removes its policy route, weight, dial order, a wan2-only open port and a reconnect schedule; turning wan's IPv6 off lists only the nat6 policy.

Closes #126
Closes #127

…s IPv6 removes the settings that reference it

- network.sh: a WAN link device that no IPv6-enabled DHCP / static WAN uses gets accept_ra 0 and loses leftover
  global IPv6 addresses and RA routes (ipv6: false used to keep accept_ra=2, the SLAAC address and the RA default).
- web UI: deleting a WAN, or turning its ipv6 / ipv6_pd off, lists the policy routes, multiwan weights / dial order,
  multicast upstream, WAN-limited firewall rules, DDNS sources and reconnect schedules that name it and removes them
  after confirmation; saving used to fail validation.

Closes #126
Closes #127
@Cd1s
Cd1s merged commit 7c14b9a into main Oct 16, 2026
2 checks passed
@Cd1s
Cd1s deleted the fix/wan-ipv6-off-and-ui-wan-refs branch October 16, 2026 17:12
@Cd1s Cd1s mentioned this pull request Oct 16, 2026
52 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant