fix: fix qemu for using hetzner
This commit is contained in:
parent
a4ae929c4e
commit
bbf4473659
2 changed files with 3 additions and 1 deletions
|
|
@ -1,7 +1,8 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, inputs, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
(modulesPath + "/profiles/qemu-guest.nix")
|
||||||
./agenix.nix
|
./agenix.nix
|
||||||
./modules/minecraft.nix
|
./modules/minecraft.nix
|
||||||
./modules/hardening.nix
|
./modules/hardening.nix
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
allowedTCPPorts = [ 80 443 25565 ]; # Caddy HTTP/HTTPS + Minecraft
|
allowedTCPPorts = [ 80 443 25565 ]; # Caddy HTTP/HTTPS + Minecraft
|
||||||
allowedUDPPorts = [ 24454 ]; # Simple Voice Chat
|
allowedUDPPorts = [ 24454 ]; # Simple Voice Chat
|
||||||
trustedInterfaces = [ "tailscale0" ]; # Full access over Tailscale (SSH, etc.)
|
trustedInterfaces = [ "tailscale0" ]; # Full access over Tailscale (SSH, etc.)
|
||||||
|
checkReversePath = "loose"; # Required for Tailscale
|
||||||
logRefusedConnections = true;
|
logRefusedConnections = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue