test out tailscale
This commit is contained in:
10
systems/pc/tailscale-client.nix
Normal file
10
systems/pc/tailscale-client.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{pkgs, lib, config, ...}:
|
||||
{
|
||||
# Run tailscale up --login-server http://<headscale_server>
|
||||
services.tailscale.enable = true;
|
||||
networking.firewall = {
|
||||
checkReversePath = "loose";
|
||||
trustedInterfaces = [ "tailscale0" ];
|
||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user