feat: add external dhcp option
This commit is contained in:
parent
c8fd489b93
commit
0b1ea4d957
2 changed files with 8 additions and 0 deletions
|
|
@ -12,3 +12,6 @@ incoming_firewall_rules: []
|
||||||
|
|
||||||
# wireguard
|
# wireguard
|
||||||
wireguard_enabled: true
|
wireguard_enabled: true
|
||||||
|
|
||||||
|
# dhcp
|
||||||
|
dhcp_enable: false
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@ table inet filter {
|
||||||
ip protocol icmp accept
|
ip protocol icmp accept
|
||||||
ip6 nexthdr ipv6-icmp accept
|
ip6 nexthdr ipv6-icmp accept
|
||||||
|
|
||||||
|
{% if dhcp_enable %}
|
||||||
|
# allow dhcp
|
||||||
|
iif {{ lan_interface }} udp dport 67 accept
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
# allow incoming firewall rules
|
# allow incoming firewall rules
|
||||||
{% for rule in incoming_firewall_rules %}
|
{% for rule in incoming_firewall_rules %}
|
||||||
# {{ rule.name }}
|
# {{ rule.name }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue