mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: add firewall ports for kdeconnect
This commit is contained in:
parent
3f6f3fbed7
commit
9a12d78fc6
3 changed files with 16 additions and 2 deletions
|
|
@ -5451,7 +5451,13 @@ Here I only enable =networkmanager=. Most of the 'real' network config is done i
|
||||||
firewall = {
|
firewall = {
|
||||||
checkReversePath = lib.mkDefault false;
|
checkReversePath = lib.mkDefault false;
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
allowedUDPPorts = [ 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
|
allowedUDPPorts = [ 51820 ]; # 51820: wireguard
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{ from = 1714; to = 1764; } # kde-connect
|
||||||
|
];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{ from = 1714; to = 1764; } # kde-connect
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
|
|
@ -9811,6 +9817,7 @@ This enables phone/computer communication, including sending clipboard, files et
|
||||||
enable = true;
|
enable = true;
|
||||||
indicator = true;
|
indicator = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,4 +4,5 @@ _:
|
||||||
enable = true;
|
enable = true;
|
||||||
indicator = true;
|
indicator = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,13 @@
|
||||||
firewall = {
|
firewall = {
|
||||||
checkReversePath = lib.mkDefault false;
|
checkReversePath = lib.mkDefault false;
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
allowedUDPPorts = [ 51820 ]; # 34197: factorio; 4380 27036 14242: barotrauma; 51820: wireguard
|
allowedUDPPorts = [ 51820 ]; # 51820: wireguard
|
||||||
|
allowedTCPPortRanges = [
|
||||||
|
{ from = 1714; to = 1764; } # kde-connect
|
||||||
|
];
|
||||||
|
allowedUDPPortRanges = [
|
||||||
|
{ from = 1714; to = 1764; } # kde-connect
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
networkmanager = {
|
networkmanager = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue