Home

tailroute @38b56a0b857efb88f86fa56dd8d88fe9d72dc270 - refs - log -
-
https://git.jolheiser.com/tailroute.git
Router for tailnet and funnel across tailscale
tailroute / cmd / tailproxy
..
-rw-r--r--
1.0 kB
README.md
-rw-r--r--
1.2 kB
main.go

tailproxy

A tiny reverse proxy to expose apps over Tailscale as their own application/service.

Config

Nix Usage

As a flake:

tailproxy.url = "git+https://git.jolheiser.com/tailroute.git";
# ...
imports = [inputs.tailproxy.nixosModules.default];

Module:

{
  services.tailproxy = {
    "myapp" = {
      enable = true;
      hostname = "myapp";
      auth-key = "<one-time auth key>"; # https://login.tailscale.com/admin/settings/keys
      funnel = false;
      port = 1234;
    };
    "otherapp" = {
      # ...
    };
  };
}