C.W.K.
Stream
Lesson 02 of 05 · published

Tailscale 셋업 — 60초 경로

~15 min · tailscale, setup, magicdns

Level 0Greenhorn
0 XP0/53 lessons0/14 achievements
0/100 XP to next level100 XP to go0% complete

"Tailscale 없음" 에서 "폰이 home 맥에 도달" 까지 가장 빠른 경로는 진짜 60초.

1. 각 디바이스에 설치

2. 각 디바이스의 Tailscale IP 찾기

3. 서비스를 그 IP 에 bind

4. 폰이나 다른 디바이스에서 도달

폰에서 http://100.64.0.5:8000 열어 (폰에 Tailscale 켜져 있고 같은 tailnet sign in). 셀룰러에서 작동. 카페에서 작동. public IP, port forward, 도메인 없이 작동.

흔한 첫날 놀람

서비스가 100.64.0.5 bind 하면 같은 머신의 localhost 에서 더 이상 도달 못 해 (127.0.0.1 이 bind set 에 없음). 해결: 둘 다 bind (대부분 서버가 콤마로 구분된 리스트나 두 listener 지원); 또는 host 에서도 Tailscale IP 로 도달 받아들이기.

Code

각 플랫폼에 설치·bash
# macOS
brew install --cask tailscale
open -a Tailscale  # IdP 로 sign in

# Linux
curl -fsSL https://tailscale.com/install.sh | sh
sudo tailscale up

# iOS / Android: 스토어에서 앱 설치, sign in
각 디바이스의 Tailscale IP 찾기·bash
tailscale ip -4
# 예: 100.64.0.5

# 또는 전체 리스트
tailscale status
서비스를 Tailscale IP 에 bind·bash
# 예: Ollama
export OLLAMA_HOST=100.64.0.5
ollama serve

# 예: Python 앱
uvicorn app:app --host 100.64.0.5 --port 8000

External links

Exercise

최소 두 디바이스에 Tailscale 설치 (노트북 + 폰이면 충분). 노트북에서 tailscale ip -4 돌리고, 그 IP 에 서비스 하나 bind (uvicorn, vite dev, ollama), 폰에서 셀룰러로 (Wi-Fi 끄고) 로드. port forward 없이 셀룰러에서 작동하는 게 Tailscale 이 click 하는 순간이야.

Progress

Progress is local-only — sign in to sync across devices.
이 페이지에서 버그를 발견하셨거나 피드백이 있으세요?문제 신고

댓글 0

🔔 답글 알림 (로그인 필요)
로그인댓글을 남기려면 로그인해 주세요.

아직 댓글이 없어요. 첫 댓글을 남겨보세요.