minifirewall/minifirewall.d/dhcp-v6.example

4 lines
189 B
Plaintext

# shellcheck shell=sh disable=SC2034
# allow DHCPv6
/sbin/ip6tables -A INPUT -i $INT -p udp --dport 546 -d fe80::/64 -j ACCEPT
/sbin/ip6tables -A OUTPUT -o $INT -p udp --dport 547 -j ACCEPT