{"id":237,"date":"2026-04-05T14:43:04","date_gmt":"2026-04-05T05:43:04","guid":{"rendered":"http:\/\/cherryboy.local\/?p=237"},"modified":"2026-04-17T15:42:14","modified_gmt":"2026-04-17T06:42:14","slug":"%e3%83%8d%e3%83%83%e3%83%88%e3%83%af%e3%83%bc%e3%82%af%e3%81%8c%e9%81%95%e3%81%86%e7%ab%af%e6%9c%ab%e3%81%b8%e3%81%aessh%e6%8e%a5%e7%b6%9a%ef%bc%88cloudflare-tunnel%e4%bd%bf%e7%94%a8%ef%bc%89","status":"publish","type":"post","link":"https:\/\/smartlife123.tech\/?p=237","title":{"rendered":"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u9055\u3046\u7aef\u672b\u3078\u306eSSH\u63a5\u7d9a\uff08Cloudflare Tunnel\u4f7f\u7528\uff09"},"content":{"rendered":"\n<p><br><\/p>\n\n\n\n<p>\uff5eCloudflare Tunnel\u3067\u5b9f\u73fe\u3059\u308b\u3001NAT\u8d8a\u3048\u30ea\u30e2\u30fc\u30c8SSH\u30a2\u30af\u30bb\u30b9\uff5e<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br>\u25a0\u524d\u63d0\u6761\u4ef6<\/h3>\n\n\n\n<p>\u30fb\u64cd\u4f5c\u3055\u308c\u308b\u7aef\u672b\u306f\u30b9\u30de\u30db\u30b5\u30fc\u30d0\u30fc\u3001\u64cd\u4f5c\u3059\u308b\u7aef\u672b\u306f\u4ed6\u306e\u30b9\u30de\u30db<\/p>\n\n\n\n<p>\u30fb\u672c\u8a18\u4e8b\u306f<a href=\"http:\/\/smartlife123.tech\/?p=152\" data-type=\"link\" data-id=\"http:\/\/smartlife123.tech\/?p=152\">\u30b9\u30de\u30dbweb\u30b5\u30fc\u30d0\u30fc\u5316\u30de\u30cb\u30e5\u30a2\u30eb<\/a>\u306b\u3066\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u5f8c\u3001\u30b5\u30fc\u30d0\u30fc\u3092\u5225\u7aef\u672b\uff08\u3053\u3061\u3089\u3082\u30b9\u30de\u30db\uff09\u3067\u30ea\u30e2\u30fc\u30c8\u306b\u52d5\u304b\u3057\u305f\u3044\u6642\u306b\u53c2\u8003\u306b\u306a\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u306a\u306e\u3067\u524d\u63d0\u6761\u4ef6\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u6e96\u5099\u304c\u6e08\u3093\u3067\u3044\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br><\/p>\n\n\n\n<p>\u3010Cloudflare \u5074\u306e\u6e96\u5099\u3011<br>\u200b\u30fbCloudflare \u30a2\u30ab\u30a6\u30f3\u30c8\u3092\u6240\u6709\u3057\u3066\u3044\u308b\u3053\u3068<br>\u200b\u72ec\u81ea\u30c9\u30e1\u30a4\u30f3\u3092\u53d6\u5f97\u3057\u3001Cloudflare \u3067\u7ba1\u7406\uff08DNS\u8a2d\u5b9a\u6e08\u307f\uff09\u3057\u3066\u3044\u308b\u3053\u3068<br>\u200b\u30fbZero Trust\uff08Cloudflare One\uff09\u306e\u5229\u7528\u958b\u59cb\u8a2d\u5b9a\uff08\u7121\u6599\u30d7\u30e9\u30f3\u3067OK\uff09\u304c\u6e08\u3093\u3067\u3044\u308b\u3053\u3068<br>\u30fb\u200b\u65e2\u306b1\u3064\u4ee5\u4e0a\u306e\u30c8\u30f3\u30cd\u30eb\uff08\u4eca\u56de\u306e\u4f8b\u3067\u306f android-server\uff09\u304c\u4f5c\u6210\u3055\u308c\u3001\u30a2\u30af\u30c6\u30a3\u30d6\u3067\u3042\u308b\u3053\u3068<br><br>\u200b\u3010\u30b5\u30fc\u30d0\u30fc\u5074\uff08\u81ea\u5b85\u30b9\u30de\u30db \/ Termux\uff09\u306e\u6e96\u5099\u3011<br>\u200b\u30fbcloudflared \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3001\u65e2\u306b\u30ed\u30b0\u30a4\u30f3\uff08\u8a8d\u8a3c\uff09\u6e08\u307f\u3067\u3042\u308b\u3053\u3068<br>\u200b\u30fbHTTP\u306b\u3088\u308bWeb\u516c\u958b\u306a\u3069\u304c\u65e2\u306b\u6210\u529f\u3057\u3066\u3044\u308b\u3053\u3068\uff08\u30c8\u30f3\u30cd\u30eb\u304c\u758e\u901a\u3057\u3066\u3044\u308b\u8a3c\u62e0\uff09<br>\u200b\u30fbopenssh \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068<br>\u200b\u30ed\u30b0\u30a4\u30f3\u7528\u306e\u30e6\u30fc\u30b6\u30fc\u30d1\u30b9\u30ef\u30fc\u30c9\uff08passwd\uff09\u304c\u8a2d\u5b9a\u6e08\u307f\u3067\u3042\u308b\u3053\u3068<br><br>\u200b\u3010\u64cd\u4f5c\u5074\uff08\u5916\u51fa\u5148\u30b9\u30de\u30db\u30fbPC \/ Termux\uff09\u306e\u6e96\u5099\u3011<br>\u200b\u30fbcloudflared \u30d1\u30c3\u30b1\u30fc\u30b8\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u308b\u3053\u3068<br>\u200b\u30fbSSH\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\uff08openssh \u306a\u3069\uff09\u304c\u4f7f\u3048\u308b\u72b6\u614b\u3067\u3042\u308b\u3053\u3068<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br>\u25a0Open ssh\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u7de8<\/h3>\n\n\n\n<p>\u30fb\u64cd\u4f5c\u3055\u308c\u308b\u5074\u306bOpen ssh\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\npkg install openssh\n<\/pre><\/div>\n\n\n<p>\u30fb\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a<br>\u30fbSSH\u30b5\u30fc\u30d0\u30fc\u8d77\u52d5<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nsshd\n<\/pre><\/div>\n\n\n<h3 class=\"wp-block-heading\"><br>\u25a0Cloudflare\u8a2d\u5b9a\u7de8<\/h3>\n\n\n\n<p>\u30fb\u300cCloudflare Zero Trust\u300d\u2192\u5de6\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u300cConnecors\u300d<br>\u30fb\u65e2\u306b\u3042\u308b\u30c8\u30f3\u30cd\u30eb\u306e\u540d\u524d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u8a73\u7d30\u753b\u9762\u3078<br>\u30fb\u200b\u4e0a\u306e\u300cPublished application routes\u300d\u30bf\u30d6\u3092\u30af\u30ea\u30c3\u30af\u2192\u300c+Add a Published application routes\u300d\u306e\u9752\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af<br>\u30fb\u8a2d\u5b9a\u306f\u4ee5\u4e0b<\/p>\n\n\n\n<ul class=\"wp-block-list is-style-checkmark-list\">\n<li>Subdomain\u306fssh<\/li>\n\n\n\n<li>Domain\u306f\u9078\u629e<\/li>\n\n\n\n<li>Path\u306f\u7a7a\u6b04<\/li>\n\n\n\n<li>Type\u306fSSH\u3092\u9078\u629e<\/li>\n\n\n\n<li>URL\u306flocalhost:8022<\/li>\n<\/ul>\n\n\n\n<p>\u30fb\u5165\u529b\u3067\u304d\u305f\u3089Save<br><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br>\u25a0\u64cd\u4f5c\u3059\u308b\u5074\u306e\u7aef\u672b\u8a2d\u5b9a\u7de8<\/h3>\n\n\n\n<p>\u30fb\u64cd\u4f5c\u3059\u308b\u5074\u306etermux\u306bOpenssh\u5c0e\u5165<br>\u30fb\u30c8\u30f3\u30cd\u30eb\u306e\u5165\u308a\u53e3\u3092\u4f5c\u6210<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncloudflared access tcp --hostname ssh.smartlife123.tech --listener localhost:2222\n<\/pre><\/div>\n\n\n<p>\u30fb\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u3067\u305f\u3089\u6210\u529f<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n2026-04-05T04:24:09Z INF Start Websocket listener host=localhost:2222\n<\/pre><\/div>\n\n\n<p>\u30fb\u5225\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7acb\u3061\u4e0a\u3052\u3001\u30ed\u30b0\u30a4\u30f3<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nssh -p 2222 &#x5B;\u30e6\u30fc\u30b6\u30fc\u540d]@localhost\n<\/pre><\/div>\n\n\n<p>\u30fb\u8a2d\u5b9a\u3057\u305f\u30d1\u30b9\u30ef\u30fc\u30c9\u5165\u308c\u3066\u63a5\u7d9a<\/p>\n\n\n\n<p>\u30fb\u81ea\u7aef\u672b\u3067\u306f\u306a\u304f\u3001\u4ed6\u7aef\u672b\u3092\u64cd\u4f5c\u4e2d\u3067\u3042\u308b\u3053\u3068\u3092\u660e\u793a\u3057\u3066\u304a\u3053\u3046<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nexport PS1=&#039;&#x5B;OPERATOR] \\w \\$ &#039;\n<\/pre><\/div>\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><br>\u25a0\u6b21\u306b\u7e4b\u3052\u305f\u3044\u6642<\/h3>\n\n\n\n<p>\u30fb\u64cd\u4f5c\u5074\u304b\u3089\u30c8\u30f3\u30cd\u30eb\u4f5c\u308a\u76f4\u3057<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ncloudflared access tcp --hostname ssh.smartlife123.tech --listener localhost:2222\n<\/pre><\/div>\n\n\n<p>\u30fb\u518d\u5ea6\u30ed\u30b0\u30a4\u30f3<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nssh -p 2222 &#x5B;\u30e6\u30fc\u30b6\u30fc\u540d]@localhost\nexport PS1=&#039;&#x5B;OPERATOR] \\w \\$ &#039;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>\uff5eCloudflare Tunnel\u3067\u5b9f\u73fe\u3059\u308b\u3001NAT\u8d8a\u3048\u30ea\u30e2\u30fc\u30c8SSH\u30a2\u30af\u30bb\u30b9\uff5e \u25a0\u524d\u63d0\u6761\u4ef6 \u30fb\u64cd\u4f5c\u3055\u308c\u308b\u7aef\u672b\u306f\u30b9\u30de\u30db\u30b5\u30fc\u30d0\u30fc\u3001\u64cd\u4f5c\u3059\u308b\u7aef\u672b\u306f\u4ed6\u306e\u30b9\u30de\u30db \u30fb\u672c\u8a18\u4e8b\u306f\u30b9\u30de\u30dbweb\u30b5\u30fc\u30d0\u30fc\u5316\u30de\u30cb\u30e5\u30a2\u30eb\u306b\u3066\u30b5\u30fc\u30d0\u30fc\u69cb\u7bc9\u5f8c\u3001\u30b5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":239,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1],"tags":[],"class_list":["post-237","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/smartlife123.tech\/wp-content\/uploads\/2026\/04\/Gemini_Generated_Image_9cphpi9cphpi9cph.png","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/posts\/237","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=237"}],"version-history":[{"count":2,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/posts\/237\/revisions\/275"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=\/wp\/v2\/media\/239"}],"wp:attachment":[{"href":"https:\/\/smartlife123.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=237"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=237"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/smartlife123.tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=237"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}