This commit is contained in:
parent
3f2d427c65
commit
90440c5d95
6 changed files with 60 additions and 32 deletions
|
@ -54,7 +54,14 @@ in
|
|||
dhcp-authoritative = true;
|
||||
};
|
||||
};
|
||||
systemd.services.dnsmasq.bindsTo = [ "network-addresses-vms-nat.service" ];
|
||||
systemd.services.dnsmasq =
|
||||
let
|
||||
vmsNat = [ "network-addresses-vms-nat.service" ];
|
||||
in
|
||||
{
|
||||
bindsTo = vmsNat;
|
||||
after = vmsNat;
|
||||
};
|
||||
networking.firewall.interfaces.vms-nat = {
|
||||
allowedUDPPorts = [
|
||||
53
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue