Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tailscale

Our current access policies look as follows:

// This tailnet's ACLs are maintained in https://gitlab.com/garuda-linux/infra-nix
{
	// Define access control lists for users, groups, autogroups, tags,
	// Tailscale IP addresses, and subnet ranges
	"acls": [
		// All servers can connect to each other, use exit nodes and oracle-dragon as DNS
		{
			"action": "accept",
			"src":    ["tag:infra"],
			"dst":    ["tag:infra:*", "autogroup:internet:*", "100.86.102.115:*"],
		},
		// Tailscale admins can access every device
		{
			"action": "accept",
			"src":    ["autogroup:admin"],
			"dst":    ["*:*"],
		},
		// Shared out nodes can be accessed on SSH / Mosh ports
		{
			"action": "accept",
			"src":    ["autogroup:shared"],
			"dst":    ["*:22,222-230,666,60000-61000"],
		},
		// Let the chaotic nodes connect to chaotic-v4's Redis (build distribution)
		{
			"action": "accept",
			"src":    ["tag:chaotic-node"],
			"dst":    ["100.75.227.149:22,6379"],
		},
		// Monitoring (Prometheus scrapes exporters on infra, fluent-bit pushes to Loki)
		{
			"action": "accept",
			"src":    ["tag:monitoring"],
			"dst":    ["tag:infra:3021,9113,9633,9996,31010,31020,31030,31040,31050,31060,31070,32041,39252"],
		},
		{
			"action": "accept",
			"src":    ["tag:infra"],
			"dst":    ["tag:monitoring:3030"],
		},
		// Mirrors: Prometheus scrapes their exporters, they push logs to Loki
		{
			"action": "accept",
			"src":    ["tag:monitoring"],
			"dst":    ["tag:mirror:3021,9113,9633,9996"],
		},
		{
			"action": "accept",
			"src":    ["tag:mirror"],
			"dst":    ["tag:monitoring:3030"],
		},
	],
	// Current infra maintainers
	"groups": {
		"group:admins": ["dr460nf1r3@github", "JustTNE@github"],
	},
	// Define a tag to use as destinations
	"tagOwners": {
		// Admins may apply the "infra" tag
		"tag:infra":        ["group:admins"],
		"tag:chaotic-node": ["group:admins"],
		"tag:monitoring":   ["group:admins"],
		"tag:mirror":       ["group:admins"],
	},
}