Skip to content

Commit

Permalink
ffac-dsl: add ipv6 support on dsl interface
Browse files Browse the repository at this point in the history
  • Loading branch information
maurerle committed Jan 3, 2025
1 parent a24ca12 commit e1b9856
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions ffac-dsl/luasrc/lib/gluon/upgrade/510-wan-dsl
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit e1b9856

Please sign in to comment.