15 lines
335 B
Nix
15 lines
335 B
Nix
# ==========================================
|
|
# VPN CONFIGURATION — Tailscale
|
|
# ==========================================
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
services.tailscale = {
|
|
enable = true;
|
|
useRoutingFeatures = "client";
|
|
};
|
|
|
|
# Loose rpfilter for Tailscale subnet routing
|
|
networking.firewall.checkReversePath = "loose";
|
|
}
|