Skip to content

kubo6472/balena-tailscale

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

351 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

balena-tailscale

Add your device to your Tailscale network with this block!

Usage

You generate and then specify the TS_AUTH_KEY using env vars found below. Use TS_ROUTES to utilize as a regular VPN in CG-NAT scenarios.

Environment Variables

The supported environment variables are listed on the official DockerHub repo.

  • TS_AUTH_KEY: The authkey to use for login.
  • TS_KUBE_SECRET: The name of the Kubernetes secret in which to store tailscaled state.
  • TS_DEST_IP: Proxy all incoming Tailscale traffic to the given destination.
  • TS_ROUTES: Subnet routes to advertise.
  • TS_ACCEPT_DNS: Whether to use the tailnet's DNS configuration.
  • TS_SOCKET: The path where the tailscaled LocalAPI socket should be created.
  • TS_EXTRA_ARGS: Extra arguments to 'tailscale up'.
  • TS_USERSPACE: Run with userspace networking (the default) instead of kernel networking.
  • TS_STATE_DIR: The directory in which to store tailscaled state. The data should persist across container restarts.
  • TS_SOCKS5_SERVER: The address on which to listen for SOCKS5 proxying into the tailnet.
  • TS_OUTBOUND_HTTP_PROXY_LISTEN: The address on which to listen for HTTP proxying into the tailnet.
  • TS_TAILSCALED_EXTRA_ARGS: Extra arguments to 'tailscaled'.

For reference, see also the documentation on Tailscale CLI commands.

Contributing

Please open an issue or submit a pull request with any features, fixes, or changes.

Acknowledgements

Tailscale is primarily developed by the people at https://github.com/orgs/tailscale/people. For other contributors, see:

These related projects were also used for reference:

Legal

WireGuard is a registered trademark of Jason A. Donenfeld.

About

Run a Tailscale subnet router - now with upsnap - on balena!

Resources

Stars

Watchers

Forks

Contributors

Languages

  • Shell 65.2%
  • Dockerfile 34.8%