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*"
|
2023-09-10 22:49:52 +00:00
|
|
|
|
|
|
|
# Allow DHCP server on p2p-wlan* for WiFi Display
|
|
|
|
iifname "p2p-wlan*" udp dport bootps accept comment "accept incoming DHCP on p2p-wlan*"
|
2021-03-26 02:59:23 +00:00
|
|
|
}
|
|
|
|
}
|