Disable firewall on USB ethernet adapter

This commit is contained in:
xenia 2025-03-02 10:28:13 +01:00
parent d13231b317
commit 90265b6ee8

View File

@ -39,6 +39,9 @@ in {
];
};
networking.firewall.interfaces."enu1c2".allowedUDPPortRanges = [ { from = 0; to = 65535; } ];
networking.firewall.interfaces."enu1c2".allowedTCPPortRanges = [ { from = 0; to = 65535; } ];
networking.firewall.allowedUDPPorts = [ 51821 51820 ];
networking.wireguard = {
enable = true;