2021-03-25 19:59:23 -07:00
|
|
|
#!/usr/sbin/nft -f
|
|
|
|
|
|
|
|
table inet filter {
|
|
|
|
chain input {
|
|
|
|
|
|
|
|
# Allow DHCP server on usb*
|
|
|
|
iifname "usb*" udp dport bootps accept comment "accept incoming DHCP on usb*"
|
|
|
|
|
2021-08-05 23:37:09 +02:00
|
|
|
# Allow DHCP server on wlan* for hotspot
|
|
|
|
iifname "wlan*" udp dport bootps accept comment "accept incoming DHCP on wlan*"
|
2021-03-25 19:59:23 -07:00
|
|
|
}
|
|
|
|
}
|