Tailscale PAM
Privileged Access Management with Zero Trust SSH
The comprehensive enterprise Tailscale guide: Device Trust, ACLs, audit logging & compliance. Replace traditional VPN and bastion hosts.
Table of Contents
What is Tailscale PAM (Privileged Access Management)?
Tailscale PAM is the modern alternative to traditional VPN solutions and jump hosts. Built on WireGuard, it offers Zero Trust Network Access (ZTNA) with integrated privileged access management for DevOps, SREs, and development teams.
Zero Trust
No implicit trust. Every connection is authenticated and authorized.
WireGuard
Modern, fast VPN protocol. 3-5x faster than OpenVPN/IPsec.
Device Trust
Verification of device security before network access.
Tailscale vs Traditional VPN
Traditional (Old)
- • Zentrale VPN-Server (Single Point of Failure)
- • Komplexe Netzwerkrouten
- • Manuelle Schlüsselverwaltung
- • Hohe Latenz
- • Kein Device Trust
Tailscale (Modern)
- • Mesh-Netzwerk (dezentral)
- • Automatische NAT-Traversal
- • Identitätsbasierte ACLs
- • Direkte P2P-Verbindungen
- • Integriertes Device Trust
Device Trust & Posture Management
Device Trust is the foundation of Tailscale PAM. Only inspected and verified devices receive network access. The security posture of each device is continuously monitored.
Device Trust Checks
Current operating system required
BitLocker/FileVault enabled
Automatic screen lock
ESET, CrowdStrike, etc. active
System firewall enabled
MDM certificate present
Device Trust Configuration (ACL)
{
"nodeAttrs": [
{
"target": ["autogroup:member"],
"attr": ["funnel",
"device:os:windows",
"device:os:macos",
"device:os:linux"
]
}
],
"postures": {
"windowsRequired": {
"type": "device",
"rules": [
{
"type": "osVersion",
"minVersion": "10.0.19044", // Windows 10 21H2
"maxVersion": "",
"operator": ">="
},
{
"type": "firewall",
"firewallEnabled": true
},
{
"type": "diskEncryption",
"diskEncryptionEnabled": true
}
]
}
}
}ACL Policies: Zero Trust Network Access
Tailscale ACLs (Access Control Lists) define who can do what. Based on identity (SSO), not IP addresses.
{
"groups": {
"group:devops": ["alice@company.com", "bob@company.com"],
"group:sre": ["charlie@company.com"],
"group:qa": ["dave@company.com"]
},
"acls": [
// DevOps: Full production access
{
"action": "accept",
"src": ["group:devops"],
"dst": ["tag:prod:*"],
"proto": "tcp",
"srcPort": ""
},
// SRE: Read-only monitoring access
{
"action": "accept",
"src": ["group:sre"],
"dst": ["tag:monitoring:9090", "tag:monitoring:3000"]
},
// QA: Staging only
{
"action": "accept",
"src": ["group:qa"],
"dst": ["tag:staging:*"]
}
],
"tagOwners": {
"tag:prod": ["group:devops"],
"tag:staging": ["group:devops", "group:qa"],
"tag:monitoring": ["group:sre"]
}
}Principle of Least Privilege
Only allow necessary access
Identity-Based
SSO/IdP instead of IP whitelists
Just-in-Time
Temporary access rights
SSH & Session Recording
Tailscale SSH replaces traditional SSH keys. Authentication via Identity Provider, session recording for compliance.
Tailscale SSH Features
- ✓ No SSH keys needed
- ✓ SSO-Authentifizierung (OIDC/SAML)
- ✓ Automatic user provisioning
- ✓ Session recording (video)
- ✓ Audit logs (who, what, when)
- ✓ JIT access (temporary)
SSH ACL Configuration
{
"ssh": [
{
"action": "check",
"src": ["group:devops"],
"dst": ["tag:prod"],
"users": ["root", "ubuntu"],
"checkPeriod": "2h" // Re-auth every 2 hours
},
{
"action": "accept",
"src": ["group:sre"],
"dst": ["tag:monitoring"],
"users": ["readonly"]
}
]
}Compliance & Certifications
2
SOC 2 Type II
Tailscale Inc. ist SOC 2 Type II zertifiziert
- • CC6.1: Logical and physical access restrictions
- • CC6.2: Authenticate before privilege assignment
- • CC6.3: Remove access beyond privileges
- • CC7.2: System monitoring
27001
ISO 27001:2022
Supports compliance requirements
- • A.5.18: Access rights
- • A.8.2: Privileged access rights
- • A.8.7: Protection against malware
- • A.8.9: Secure configuration
Audit Logging for Compliance
Tailscale logs all network connections and access. Export logs to SIEM systems like Splunk, Datadog, or ELK.
Enterprise Setup Guide
Identity Provider (SSO) konfigurieren
Connect Tailscale to your IdP (Okta, Azure AD, Google Workspace). Enforce MFA.
Device Trust Policies definieren
Define minimum requirements: OS version, encryption, firewall, EDR.
ACLs & Tags strukturieren
Create a clear tag hierarchy (prod, staging, dev). Define ACLs per team.
Subnet Routes & Exit Nodes
Configure subnet routers for non-Tailscale devices. Exit nodes for secure internet access.
Monitoring & Alerting
Export logs to your SIEM. Set up alerts for unusual access patterns.
Ready for Zero Trust Networking?
Start your Tailscale PAM migration with ClawKing's security assessment.
Start Security Assessment