initial config
This commit is contained in:
14
modules/system/vpn.nix
Normal file
14
modules/system/vpn.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
# ==========================================
|
||||
# VPN CONFIGURATION — Tailscale
|
||||
# ==========================================
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
services.tailscale = {
|
||||
enable = true;
|
||||
useRoutingFeatures = "client";
|
||||
};
|
||||
|
||||
# Loose rpfilter for Tailscale subnet routing
|
||||
networking.firewall.checkReversePath = "loose";
|
||||
}
|
||||
Reference in New Issue
Block a user