tv dnsmasq: listen only on configured interfaces
This commit is contained in:
parent
6722c8b823
commit
6ad7a8801c
@ -31,8 +31,9 @@ in {
|
||||
};
|
||||
services.dnsmasq.enable = true;
|
||||
services.dnsmasq.extraConfig = ''
|
||||
bind-interfaces
|
||||
dhcp-range=${cfg.dhcp-range}
|
||||
interface=${cfg.interface}
|
||||
listen-address=${cfg.address}
|
||||
'';
|
||||
tv.iptables.extra.filter.INPUT = [
|
||||
"-i ${cfg.interface} -p tcp -m tcp --dport bootps -j ACCEPT"
|
||||
|
Loading…
Reference in New Issue
Block a user