fix networking

This commit is contained in:
2026-01-27 19:46:31 +00:00
parent 3dd7840b06
commit c4eaabaddc

View File

@@ -1,4 +1,6 @@
{config, ...}: { {config, ...}: {
boot.kernel.sysctl."net.ipv4.conf.eno1.rp_filter" = 0;
networking = { networking = {
useDHCP = false; useDHCP = false;
interfaces.eno1.ipv4.addresses = [ interfaces.eno1.ipv4.addresses = [
@@ -13,10 +15,12 @@
enable = true; enable = true;
trustedInterfaces = ["eno1" "tailscale0"]; trustedInterfaces = ["eno1" "tailscale0"];
allowedUDPPorts = [ allowedUDPPorts = [
53
config.services.tailscale.port config.services.tailscale.port
]; ];
allowedTCPPorts = [ allowedTCPPorts = [
22 22
53
]; ];
checkReversePath = "loose"; checkReversePath = "loose";
}; };