tailscale

(★ 35,418)

WireGuard와 2FA를 사용하는 가장 쉽고 안전한 방법.

파일 탐색기

파일 수가 많아 일부만 표시됩니다. 전체 파일은 위 다운로드 버튼으로 확인해 주세요.

  • .gitattributes
  • .gitignore
  • .golangci.yml
  • .policy-tests.yml
  • .policy.yml
  • .stignore
  • ALPINE.txt
  • api.md
  • assert_ts_toolchain_match.go
  • build_dist.sh
  • build_docker.sh
  • cache_key_test.go
  • CODE_OF_CONDUCT.md
  • CODEOWNERS
  • Dockerfile
  • Dockerfile.base
  • flake.lock
  • flake.nix
  • flakehashes.json
  • go.mod
  • go.sum
  • go.toolchain.branch
  • go.toolchain.next.branch
  • go.toolchain.next.rev
  • go.toolchain.rev
  • go.toolchain.version
  • gomod_test.go
  • header.txt
  • LICENSE
  • license_test.go
  • Makefile
  • PATENTS
  • pkgdoc_test.go
  • pull-toolchain.sh
  • README.md
  • SECURITY.md
  • shell.nix
  • staticcheck.conf
  • VERSION.txt

# 설치 가이드

go
사전 준비물

설치 및 실행 절차

go install tailscale.com/cmd/tailscale{,d}

Tailscale CLI 및 tailscaled 데몬을 기본 설치합니다.

./build_dist.sh tailscale.com/cmd/tailscale

커밋 ID와 버전 정보를 포함하여 tailscale을 빌드합니다.

./build_dist.sh tailscale.com/cmd/tailscaled

커밋 ID와 버전 정보를 포함하여 tailscaled를 빌드합니다.

핵심 명령어

go install tailscale.com/cmd/tailscale{,d}

Go 환경을 통해 tailscale 및 tailscaled 바이너리를 직접 설치합니다.

./build_dist.sh tailscale.com/cmd/tailscale

배포용 바이너리에 버전 및 커밋 정보를 주입하여 빌드합니다.

배포를 위한 패키징 시에는 일반 go install 대신 build_dist.sh 스크립트를 사용하여 버전 정보를 포함시키는 것을 권장합니다.

# CDN으로 사용하기

jsDelivr

jsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.

파일 목록이 많아 일부만 표시됩니다.

명령어 용어집

이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.

🔍

git log

설명 보기 ▼

Show a history of commits.

git log

Show the sequence of commits starting from the current one, in reverse chronological order of the Git repository in the current working directory:

git log {{[-p|--patch]}} {{path/to/file_or_directory}}

Show the history of a particular file or directory, including differences:

git log --stat

Show an overview of which file(s) changed in each commit:

🔍

go install

설명 보기 ▼

Compile and install packages named by the import paths.

go install

Compile and install the current package:

go install {{path/to/package}}

Compile and install a specific local package:

go install {{golang.org/x/tools/gopls}}@{{latest}}

Install the latest version of a program, ignoring `go.mod` in the current directory:

🔍

tailscale

설명 보기 ▼

개인 WireGuard 네트워크 서비스.
`up`와 같은 일부 하위 명령에는 자체 사용 설명서가 있습니다.
더 많은 정보: <https://tailscale.com/kb/1080/cli>.

sudo tailscale set --operator $USER

Tailscale에 연결:

tailscale {{up|down|status}}

Tailscale에서 연결 해제:

tailscale set --advertise-exit-node

현재 Tailscale IP 주소 표시:

// repository documentation