2021-03-26 02:59:23 +00: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 21:37:09 +00:00
|
|
|
# Allow DHCP server on wlan* for hotspot
|
|
|
|
iifname "wlan*" udp dport bootps accept comment "accept incoming DHCP on wlan*"
|
2021-03-26 02:59:23 +00:00
|
|
|
}
|
|
|
|
}
|