dotfiles/bin/tailscaled-docker

8 lines
227 B
Bash
Executable File

#!/bin/bash
if [[ $GOOGLE_CLOUD_SHELL = "" ]]; then
nohup sudo tailscaled --statedir=~/.config/tailscaled >/dev/null &
else
nohup sudo tailscaled --tun=userspace-networking --socks5-server=localhost:1088 >/dev/null &
fi