tvl-depot/ops
Vincent Ambo 8cdad7d45c feat(ops): introduce (head|tail)scale server at net.tvl.fyi
This runs a headscale server on sanduny which lets users join their
machines to the TVL tailscale network.

This would theoretically let people communicate with each other on the
internal network, but also more notably joined servers can advertise
exit node capability so that we can have our own "VPN network", for
starters with endpoints in Germany, UK and Russia (whitby, sanduny and
koptevo respectively).

This setup isn't fully stable yet, notably:

* The IP range used by tailscale is just the default one right now,
  I'm not sure if that should be changed or what.

* The system is stateful (on sanduny), but the state is not (yet)
  backed up anywhere. Use with caution.

* Machine joining is a manual process requiring SSH & root access to
  sanduny.

  The process is to log in to sanduny, then get a headscale shell with
  `sudo -u headscale bash`, and to use the `headscale` CLI within
  there to administrate access.

  I've opted to create a user account `tvl` for TVL-owned machines,
  and a personal account for myself and my machines.

Change-Id: I4f1be1fe8062a6c2e77203ff72fe8709f4e4dec8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8837
Reviewed-by: sterni <sternenseemann@systemli.org>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2023-06-22 13:23:14 +00:00
..
besadii fix(ops/besadii) test trigger.ref against configured branch 2022-06-09 15:26:25 +00:00
buildkite fix(ops/buildkite): set default_branch explicitly 2023-02-01 17:25:06 +00:00
deploy-whitby refactor(deploy-whitby): use nvd instead of nix-diff 2022-01-13 08:14:00 +00:00
dns chore(3p/sources): Bump channels & overlays 2022-09-28 08:02:31 +00:00
gerrit-tvl fix(gerrit-tvl): Use only one build filter 2022-05-28 13:39:58 +00:00
glesys feat(ops/glesys): add net.tvl.fyi CNAME for sanduny 2023-06-20 12:21:10 +00:00
journaldriver chore(journaldriver): bump version number 2023-01-13 08:31:14 +00:00
keycloak docs: change email address mentions to depot@tvl.su 2022-12-27 19:46:11 +00:00
kontemplate style: format entire depot with nixpkgs-fmt 2022-01-31 16:11:53 +00:00
machines feat(ops): introduce (head|tail)scale server at net.tvl.fyi 2023-06-22 13:23:14 +00:00
modules feat(ops): introduce (head|tail)scale server at net.tvl.fyi 2023-06-22 13:23:14 +00:00
mq_cli style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
pipelines feat(ops/pipelines): trigger tvix buildkite pipeline 2023-02-01 17:11:50 +00:00
posix_mq.rs style(rust): Format all Rust code with rustfmt 2022-02-08 12:06:39 +00:00
secrets feat(ops/secrets): add flokli to terraform secrets access 2023-02-01 16:39:32 +00:00
terraform feat(ops/terraform/deploy-nixos): make target_user_ssh_key optional 2023-05-16 09:55:23 +00:00
users feat(ops/users): Add hsjobeki to users 2023-04-28 11:17:20 +00:00
yandex-cloud-rs fix(ops/yandex-cloud-rs): fix dev-dependencies for examples 2023-06-14 10:06:37 +00:00
nixos.nix fix(ops/nixos): use builtins.storePath to avoid dumping pkgs.path 2022-05-29 10:22:25 +00:00