2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

tailscaleにWSL2からつないでみた

Last updated at Posted at 2021-08-07

環境

  • WSL2
  • Ubuntu 20

インストール

curl -fsSL https://tailscale.com/install.sh | sh

起動

daemon起動

sudo tailscaled

tailscaleに接続

sudo tailscale up

動作確認

$ ping 100.101.102.103
PING 100.101.102.103 (100.101.102.103) 56(84) bytes of data.
64 bytes from 100.101.102.103: icmp_seq=1 ttl=64 time=1811 ms
64 bytes from 100.101.102.103: icmp_seq=2 ttl=64 time=764 ms
64 bytes from 100.101.102.103: icmp_seq=3 ttl=64 time=327 ms
64 bytes from 100.101.102.103: icmp_seq=4 ttl=64 time=340 ms
64 bytes from 100.101.102.103: icmp_seq=5 ttl=64 time=365 ms
64 bytes from 100.101.102.103: icmp_seq=6 ttl=64 time=387 ms
64 bytes from 100.101.102.103: icmp_seq=7 ttl=64 time=334 ms
64 bytes from 100.101.102.103: icmp_seq=8 ttl=64 time=535 ms
64 bytes from 100.101.102.103: icmp_seq=9 ttl=64 time=356 ms
64 bytes from 100.101.102.103: icmp_seq=10 ttl=64 time=378 ms

トラブルシューティング

WSLから100.101.102.103にはpingが飛ぶのだがプロジェクトのサーバにはpingが飛ばない。
一方で、Windowsの方にtailscaleを入れたらプロジェクトのサーバにpingは飛び、WSLからも接続できた。しかし今度は100.101.102.103にはpingが飛ばなくなった。

参考

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?