nixos-config/nixos/machines/orbi/network-tinc.nix

16 lines
245 B
Nix
Raw Normal View History

2023-12-09 17:15:50 +01:00
{
networking.firewall = {
allowedTCPPorts = [ 655 721 ];
allowedUDPPorts = [ 655 721 ];
};
tinc.private.enable = true;
tinc.private.ipv4 = "10.23.42.111";
tinc.secret.enable = true;
tinc.secret.ipv4 = "10.123.42.123";
}