From e1b9856b23607b67cac196a58c74f795e92f0603 Mon Sep 17 00:00:00 2001 From: Florian Maurer Date: Fri, 3 Jan 2025 11:23:18 +0100 Subject: [PATCH] ffac-dsl: add ipv6 support on dsl interface --- ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl b/ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl index 016d5b2..a8a0c82 100755 --- a/ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl +++ b/ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl @@ -16,8 +16,17 @@ if enabled == true then password=password, ipv6='auto', }) + uci:section('firewall','rule','wdsl_dhcpv6',{ + name = 'DSL DHCPv6', + src = 'wdsl', + family = 'ipv6', + dest_port = '546', + proto = 'udp', + target = 'ACCEPT', + }) else uci:delete('network', 'wdsl') + uci:delete('firewall', 'wdsl_dhcpv6') end uci:commit('network') \ No newline at end of file