nixos-config/nixos/machines/robi/network-tinc.nix
Ingolf Wagner c115ba28fd
rename VPN
2023-11-18 12:50:09 +01:00

15 lines
245 B
Nix

{
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";
}