ã©ãºãã€(ubuntu 20.04.4 LTS)ã« Tailscale ãæ§ç¯
ã©ãºãã€ã«tailscaleãæ§ç¯ããã tailscaleã¯WireGuard(VPN)ãæ±ãããããããã®ã§ããïŒãã£ããïŒ çŽ ã®WireGuardãæ€èšãããããã³ã·ã§ã³äœãŸãã®ãããäžäœã®ã«ãŒã¿ãŒã®æ§æãäžæã§ããã€ããŒããéãããïŒç¥èäžè¶³ïŒãäžæã«ãã£ãŠã»ãã¥ãªãã£ã¬ãã¬ãã«ãªãã®ã¯å«ã ã£ãã®ã§tailscaleã«ãã ç°å¢ ã©ãºã〠3B+ ubuntu 20.04.4 LTS 32GBã®SDã«ãŒã Tailscale ã®ã¢ã«ãŠã³ãäœæ äœã¯ãšãããããŸãã¯ã¢ã«ãŠã³ããäœã åè: https://blog.tsukumijima.net/article/tailscale-vpn/#toc3 githubã¢ã«ãŠã³ãã§ãã°ã€ã³ãã ãã®ç«¯æ«ã®èªèšŒéµã®æå¹æéãç¡å¹ã«ããããšãã§ããŸãã â ç¡å¹åãã ã©ãºãã€ã«æ§ç¯ããåã«ãSynologyã®NAS(DS118)ãTailscaleã«å¯Ÿå¿ããŠããã®ã§ãå ã«å ¥ããŠã¿ã ããã«ã¢ã¯ã»ã¹ã§ãã ç°¡åãããŠããã£ã ã©ãºãã€ã®ã»ããã¢ãã ãŸããOSãSDã«ãŒãã«æžã蟌㿠æžã蟌ã¿ã«ã¯ Raspberry Pi Imager ãäœ¿çš https://www.raspberrypi.com/software/ 空ã ãã©ãäœãšãªã erase ããŠããæžã蟌ã ãã¡ããåè(â)ã«ããŠwolãµãŒããšãããã£ãã®ã§ubuntuã«ãã https://macoshita.me/posts/wi-fi-router-and-tailscale/ ubuntu ã¯ã©ãºã〠3B+ ãªã®ã§ã32bit armhf ltså®å®ç ãšãã ååã»ããã¢ããã¯ãã¡ã(â)ãåè https://takaken.tokyo/dev/raspberrypi/raspi_ubuntu_setup2004/ ç¿ã£ãŠãrootãã¹ã¯ãŒãå€æŽãŸã§å®æœ æç·ã ãã§äœ¿ããããç¡ç·LANã¯ç¡ãïŒã³ã¡ã³ãã¢ãŠãããïŒ Tailscale ã®ã€ã³ã¹ããŒã« åè: https://tailscale.com/download/linux/ubuntu-2004 tailscale ip -4 ã ip addr show tailscale0 ã§ãipãããã ã§ãipã¢ãã¬ã¹ã¯tailscaleã®ããŒãž(https://login.tailscale.com/admin/machines)ã§ããããããã³ãã³ããæããªããŠãããã ã©ãºãã€ãåèµ·åããŠãtailscaleãèªåèµ·åããããšã確èªãã 確èªã¯ãäžèšã®tailscaleã®ããŒãžã§active(ç·è²ã®äžž)ã«ãªã£ãŠããããšããããã exitnode ã®èšå® ãã£ãšé»æºå ¥ãã£ã±ãªãã«ããŠã倧äžå€«ãªã©ãºãã€ãexitnodeã«èšå®ãã VPNãéè¯Wi-Fiãã»ãã¥ã¢ã«ããããã«äœ¿ããããªã exitnode ã®èšå®ãå¿ èŠ exitnodeçµç±ã«ããŠãªãã£ãæã¯ãæ¥ç¶å ãããªããŠãVPNæ¥ç¶ãã§ããŠãã ããã£ãVPNã£ãŠ2æ ç¹éãç¹ããã®ãªã®ã«ãªãã§æ¥ç¶ãã§ããŠ(VPNãactiveã«ãªã)ããã ïŒã£ãŠæã£ãŠã°ããŒãã«ipã確èªããããVPNæ¥ç¶ååŸã§ã°ããŒãã«ipãå€ãã£ãŠãªãã£ã...