Properly configure firewall to allow tinc to pass through
This commit is contained in:
parent
9fecd353f8
commit
41f717c5be
2 changed files with 6 additions and 1 deletions
|
@ -78,6 +78,11 @@ in
|
|||
# firewall
|
||||
networking.firewall.allowedUDPPorts = [ 655 ];
|
||||
networking.firewall.allowedTCPPorts = [ 655 ];
|
||||
networking.firewall.interfaces."tinc.${networkName}" = {
|
||||
allowedUDPPortRanges = [{ from = 0; to = 65535; }];
|
||||
allowedTCPPortRanges = [{ from = 0; to = 65535; }];
|
||||
};
|
||||
|
||||
|
||||
# configure tinc service
|
||||
# ----------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue