{"id":13626,"date":"2024-01-31T10:00:00","date_gmt":"2024-01-31T01:00:00","guid":{"rendered":"https:\/\/www.gigas-jp.com\/appnews\/?p=13626"},"modified":"2024-01-31T14:33:27","modified_gmt":"2024-01-31T05:33:27","slug":"amazonlightsail%e3%81%a8tailscale%e3%82%92%e4%bd%bf%e3%81%a3%e3%81%9f%e3%81%8a%e6%89%8b%e8%bb%bd%e5%9b%ba%e5%ae%9aip%e3%81%ae%e5%8f%96%e5%be%97","status":"publish","type":"post","link":"https:\/\/www.gigas-jp.com\/appnews\/archives\/13626","title":{"rendered":"AmazonLightsail\u3068tailscale\u3092\u4f7f\u3063\u305f\u304a\u624b\u8efd\u56fa\u5b9aIP\u306e\u53d6\u5f97"},"content":{"rendered":"\n<p>Static IP\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u305fLightsail\u3068Linux\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u30ed\u30fc\u30ab\u30ebPC\u3092tailscale\u306eVPN\u3067\u7e4b\u3044\u3067<br>\u624b\u8efd\u306b\u56fa\u5b9aIP\u3092\u5229\u7528\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>\u3042\u3089\u304b\u3058\u3081tailscale\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306e\u53d6\u5f97\u3092\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br>\u63a5\u7d9a\u5143\u306e\u30ed\u30fc\u30ab\u30ebPC\u3067tailscale\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u30da\u30fc\u30b8\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057<br>tailscale\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<br>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3059\u308b\u3068 <code>sudo tailscale up<\/code> \u3092\u5b9f\u884c\u3057\u308d\u3068\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u306b\u8868\u793a\u3055\u308c\u308b\u306e\u3067\u5b9f\u884c\u3059\u308b\u3068<br>\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u306bURL\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u306e\u3067\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u3001\u3042\u3089\u304b\u3058\u3081\u53d6\u5f97\u3057\u3066\u304a\u3044\u305f<br>tailscale\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u30ed\u30b0\u30a4\u30f3\u3059\u308b\u3068PC\u304ctailscale\u306e\u30a2\u30ab\u30a6\u30f3\u30c8\u306b\u7d10\u4ed8\u3051\u3089\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306bLightsail\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306f\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u51fa\u53e3\u3068\u3057\u3066\u3057\u304b\u5229\u7528\u3057\u306a\u3044\u306e\u3067OS\u306e\u307f\u3067\u3059\u3002<br>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u306e\u4f5c\u6210\u304c\u5b8c\u4e86\u3057\u305f\u3089Static IP\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u3001\u30d6\u30e9\u30a6\u30b6SSH\u304b\u3089\u30ed\u30b0\u30a4\u30f3\u3057\u3001<br>\u30ed\u30fc\u30ab\u30ebPC\u3067\u5b9f\u884c\u3057\u305f\u3082\u306e\u3068\u540c\u3058\u624b\u9806\u3092\u884c\u3044Lightsail\u3092tailscale\u306b\u7d10\u4ed8\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<p>tailscale\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30da\u30fc\u30b8\u306e\u30de\u30b7\u30f3\u4e00\u89a7\u306bOS\u304c\u767b\u9332\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u305f\u5f8c\u3001<br>Lightsail\u3092\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u51fa\u53e3(Exit-node)\u5316\u3059\u308b\u305f\u3081\u306b\u30d6\u30e9\u30a6\u30b6SSH\u304b\u3089 <br><code>sudo tailscale up --advertise-exit-node<\/code> \u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>\u3059\u308b\u3068\u30b3\u30f3\u30bd\u30fc\u30eb\u30da\u30fc\u30b8\u306e\u30de\u30b7\u30f3\u4e00\u89a7\u306eLightsail\u306e\u30de\u30b7\u30f3\u540d\u306e\u4e0b\u306b&#8221;Exit Node&#8221;\u306e\u8868\u793a\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"1920\" height=\"967\" src=\"https:\/\/www.gigas-jp.com\/appnews\/wp-content\/uploads\/sites\/4\/2024\/01\/d778e8cf93db50e3b15b6ef797985b07-1.png\" alt=\"\" class=\"wp-image-13632\" \/><\/figure>\n\n\n\n<p>\u6b21\u306b\u305d\u306e\u30de\u30b7\u30f3\u306e\u53f3\u7aef\u306e\u30e1\u30cb\u30e5\u30fc\u30dc\u30bf\u30f3\u304b\u3089 &#8220;Edit route setting&#8230;&#8221; \u3092\u958b\u304d\u3001<br>Exit node\u306e&#8221;Use as exit node&#8221;\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" width=\"509\" height=\"467\" src=\"https:\/\/www.gigas-jp.com\/appnews\/wp-content\/uploads\/sites\/4\/2024\/01\/66132da3b8d1936aae52ffe170dc5972-2.png\" alt=\"\" class=\"wp-image-13631\" \/><\/figure>\n\n\n\n<p><br>\u3053\u308c\u3067Lightsail\u5074\u304c\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u51fa\u53e3\u3068\u3057\u3066\u4f7f\u3048\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u30ed\u30fc\u30ab\u30ebPC\u5074\u306e\u30bf\u30fc\u30df\u30ca\u30eb\u4e0a\u3067<br><code>sudo tailscale uptailscale up - -exit-node={tailscale\u4e0a\u306eLightsail\u306e\u30a2\u30c9\u30ec\u30b9} <\/code><br>\u3092\u5b9f\u884c\u3059\u308c\u3070\u5b8c\u4e86\u3067\u3059\u3002<br>{tailscale\u4e0a\u306eLightsail\u306e\u30a2\u30c9\u30ec\u30b9}  \u306f<br>tailscale\u306e\u30b3\u30f3\u30bd\u30fc\u30eb\u30da\u30fc\u30b8\u306e\u30de\u30b7\u30f3\u4e00\u89a7\u306e&#8221;ADDRESS&#8221;\u6b04\u306b\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\uff1a<a href=\"https:\/\/tailscale.com\/kb\/1103\/exit-nodes\">https:\/\/tailscale.com\/kb\/1103\/exit-nodes<\/a><\/p>\n\n\n\n<p>\u6c34\u66dc\u62c5\u5f53\uff1aTanaka<\/p>\n<div class='wp_social_bookmarking_light'>\n            <div class=\"wsbl_google_plus_one\"><g:plusone size=\"medium\" annotation=\"none\" href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13626\" ><\/g:plusone><\/div>\n            <div class=\"wsbl_hatena_button\"><a href=\"\/\/b.hatena.ne.jp\/entry\/https:\/\/www.gigas-jp.com\/appnews\/archives\/13626\" class=\"hatena-bookmark-button\" data-hatena-bookmark-title=\"AmazonLightsail\u3068tailscale\u3092\u4f7f\u3063\u305f\u304a\u624b\u8efd\u56fa\u5b9aIP\u306e\u53d6\u5f97\" data-hatena-bookmark-layout=\"standard\" title=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\"> <img src=\"\/\/b.hatena.ne.jp\/images\/entry-button\/button-only@2x.png\" alt=\"\u3053\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u3092\u306f\u3066\u306a\u30d6\u30c3\u30af\u30de\u30fc\u30af\u306b\u8ffd\u52a0\" width=\"20\" height=\"20\" style=\"border: none;\" \/><\/a><script type=\"text\/javascript\" src=\"\/\/b.hatena.ne.jp\/js\/bookmark_button.js\" charset=\"utf-8\" async=\"async\"><\/script><\/div>\n            <div class=\"wsbl_twitter\"><a href=\"https:\/\/twitter.com\/share\" class=\"twitter-share-button\" data-url=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13626\" data-text=\"AmazonLightsail\u3068tailscale\u3092\u4f7f\u3063\u305f\u304a\u624b\u8efd\u56fa\u5b9aIP\u306e\u53d6\u5f97\" data-via=\"GIGASJAPAN_APPS\" data-lang=\"ja\">Tweet<\/a><\/div>\n            <div class=\"wsbl_facebook_like\"><div id=\"fb-root\"><\/div><fb:like href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13626\" layout=\"button_count\" action=\"like\" width=\"100\" share=\"false\" show_faces=\"false\" ><\/fb:like><\/div>\n            <div class=\"wsbl_facebook_send\"><div id=\"fb-root\"><\/div><fb:send href=\"https:\/\/www.gigas-jp.com\/appnews\/archives\/13626\" colorscheme=\"light\" ><\/fb:send><\/div>\n    <\/div>\n<br class='wp_social_bookmarking_light_clear' \/>\n","protected":false},"excerpt":{"rendered":"<p>Static IP\u3092\u30a2\u30bf\u30c3\u30c1\u3057\u305fLightsail\u3068Linux\u304c\u52d5\u4f5c\u3057\u3066\u3044\u308b\u30ed\u30fc\u30ab\u30ebPC\u3092tailscale\u306eVPN\u3067\u7e4b\u3044\u3067\u624b\u8efd\u306b\u56fa\u5b9aIP\u3092\u5229\u7528\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[90,27],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13626"}],"collection":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/comments?post=13626"}],"version-history":[{"count":5,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13626\/revisions"}],"predecessor-version":[{"id":13638,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/posts\/13626\/revisions\/13638"}],"wp:attachment":[{"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/media?parent=13626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/categories?post=13626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gigas-jp.com\/appnews\/wp-json\/wp\/v2\/tags?post=13626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}