a52e82b3ee
The networkmanager hotspot needs to have DHCP input enabled on the wifi interfaces so the temporary dnsmasq instance can work. The networkmanager backend is also switched to the nftables one so it can create the ad-hoc hotspot forwarding/masquerade table.
12 lines
297 B
Text
12 lines
297 B
Text
#!/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*"
|
|
|
|
# Allow DHCP server on wlan* for hotspot
|
|
iifname "wlan*" udp dport bootps accept comment "accept incoming DHCP on wlan*"
|
|
}
|
|
}
|