config/profiles/vpn-pbsds/tailscale.nix

13 lines
421 B
Nix
Raw Normal View History

2024-01-26 23:59:48 +01:00
{ config, ...}:
{
services.tailscale.enable = true;
networking.firewall.checkReversePath = "loose";
networking.firewall.trustedInterfaces = [ "tailscale0" ];
networking.firewall.allowedUDPPorts = [ config.services.tailscale.port ];
# remote-set X
# tailscale up --login-server 'https://head.pbsds.net'
# ssh noximilien.pbsds.net headscale --namespace <namespace_name> nodes register --key <machine_key>
}