Fix clone step failing, because git.hamburg.ccc.de could not be resolved

This commit is contained in:
June 2024-06-22 17:11:11 +02:00
parent f5432bd682
commit be7f6e4917
Signed by: june
SSH key fingerprint: SHA256:o9EAq4Y9N9K0pBQeBTqhSDrND5E7oB+60ZNx0U1yPe0

View file

@ -10,4 +10,11 @@
enable = true;
defaultNetwork.settings.dns_enabled = true;
};
networking.firewall.interfaces."podman0" = {
# allowedUDPPorts = [ 53 ] gets already set by virtualisation.podman.defaultNetwork.settings.dns_enabled, but set it here explicitly anyway.
allowedUDPPorts = [ 53 ];
# For git.hamburg.ccc.de to resolve in the clone step for example, allowedTCPPorts also needs to be set to allow DNS.
allowedTCPPorts = [ 53 ];
};
}