feat: add external dhcp option

This commit is contained in:
Simon Cornet 2026-03-02 13:15:05 +01:00
commit 0b1ea4d957
2 changed files with 8 additions and 0 deletions

View file

@ -12,3 +12,6 @@ incoming_firewall_rules: []
# wireguard
wireguard_enabled: true
# dhcp
dhcp_enable: false

View file

@ -16,6 +16,11 @@ table inet filter {
ip protocol icmp accept
ip6 nexthdr ipv6-icmp accept
{% if dhcp_enable %}
# allow dhcp
iif {{ lan_interface }} udp dport 67 accept
{% endif %}
# allow incoming firewall rules
{% for rule in incoming_firewall_rules %}
# {{ rule.name }}