{"id":6852,"date":"2025-09-19T21:19:19","date_gmt":"2025-09-19T12:19:19","guid":{"rendered":"https:\/\/appbay.org\/?p=6852"},"modified":"2025-09-19T21:22:45","modified_gmt":"2025-09-19T12:22:45","slug":"rustdesk-vps%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab","status":"publish","type":"post","link":"https:\/\/appbay.org\/?p=6852","title":{"rendered":"RustDesk VPS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<p>\u203bhbbr\u304c\u30ea\u30ec\u30fc\u30b5\u30fc\u30d0\u30fc\u3001hbbs\u304c\u30b7\u30b0\u30ca\u30eb\u30b5\u30fc\u30d0\u30fc<\/p>\n<h3>Docker\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h3>\n<blockquote class=\"wp-embedded-content\" data-secret=\"UxxFIr2IJr\"><p><a href=\"https:\/\/appbay.org\/?p=6766\">VPS\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u6574\u7406(XserverVPS)<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;VPS\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u6574\u7406(XserverVPS)&#8221; &#8212; \u30c6\u30c3\u30af\u30e1\u30e2\" src=\"https:\/\/appbay.org\/?p=6766&#038;embed=true#?secret=8AMk9aekQB#?secret=UxxFIr2IJr\" data-secret=\"UxxFIr2IJr\" width=\"525\" height=\"296\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<h3>ufw<\/h3>\n<p>\u203b from xxx \u306f\u7701\u7565\u53ef\u80fd<br \/>\n(ufw allow to any port 21116 proto tcp)<br \/>\n\u203b proto xxx \u306f\u7701\u7565\u53ef\u80fd(tcp\/udp\u304c\u9069\u7528)<br \/>\n(ufw allow to any port 21116)<br \/>\n\u203b to any port\u3092\u7701\u7565\u3059\u308b\u5834\u5408\u3001proto to\u3082\u7701\u7565\u3059\u308b\u7701\u7565\u8a18\u6cd5(\u30ab\u30f3\u30de\u533a\u5207\u4e0d\u53ef)<br \/>\n(ufw allow 21116\/udp)<\/p>\n<p>ufw allow to any port 21114,21115,21116,21117,21118,21119 proto tcp<br \/>\nufw allow to any port 21116 proto udp<\/p>\n<p>\u203b\u4ee5\u4e0b\u304c\u5fc5\u8981<br \/>\n21114(TCP)<br \/>\n21115(TCP)<br \/>\n21116(TCP\/UDP)<br \/>\n21117(TCP)<br \/>\n21118(TCP)<br \/>\n21119(TCP)<\/p>\n<h3>\u30b3\u30de\u30f3\u30c9<\/h3>\n<p>ufw status numbered<br \/>\nufw delete 1<br \/>\nufw reload<\/p>\n<h3>Docker<\/h3>\n<p>mkdir rustdesk<br \/>\ncd rustdesk<br \/>\nvim docker-compose.yml<\/p>\n<h3>docker compose up -d<\/h3>\n<pre class=\"lang:default decode:true \">services:\r\n  hbbs:\r\n    container_name: hbbs\r\n    image: rustdesk\/rustdesk-server:latest\r\n    environment:\r\n      - ALWAYS_USE_RELAY=Y\r\n    command: hbbs\r\n    volumes:\r\n      - .\/data:\/root\r\n    network_mode: \"host\"\r\n    depends_on:\r\n      - hbbr\r\n    restart: unless-stopped\r\n  hbbr:\r\n    container_name: hbbr\r\n    image: rustdesk\/rustdesk-server:latest\r\n    command: hbbr\r\n    volumes:\r\n      - .\/data:\/root\r\n    network_mode: \"host\"\r\n    restart: unless-stopped<\/pre>\n<h3>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8<\/h3>\n<p>https:\/\/github.com\/rustdesk\/rustdesk\/releases<\/p>\n<p>\u8a2d\u5b9a\uff1e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\uff1e\u8a8d\u8a3c\u30b5\u30fc\u30d0\u30fc\uff0f\u4e2d\u7d99\u30b5\u30fc\u30d0\u30fc\u306bIP\u30a2\u30c9\u30ec\u30b9\u3092\u5165\u308c\u308b<br \/>\nKey\u306e\u8abf\u3079\u65b9\u3002<br \/>\ncd data<br \/>\ncat id_ed25519.pub<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u203bhbbr\u304c\u30ea\u30ec\u30fc\u30b5\u30fc\u30d0\u30fc\u3001hbbs\u304c\u30b7\u30b0\u30ca\u30eb\u30b5\u30fc\u30d0\u30fc Docker\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb VPS\u3067\u7a3c\u50cd\u3057\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9\u6574\u7406(XserverVPS) ufw \u203b from xxx \u306f\u7701\u7565\u53ef\u80fd (ufw allow to any p &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/appbay.org\/?p=6852\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;RustDesk VPS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[145],"class_list":["post-6852","post","type-post","status-publish","format-standard","hentry","category-1","tag-linux"],"_links":{"self":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6852","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6852"}],"version-history":[{"count":4,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6852\/revisions"}],"predecessor-version":[{"id":6856,"href":"https:\/\/appbay.org\/index.php?rest_route=\/wp\/v2\/posts\/6852\/revisions\/6856"}],"wp:attachment":[{"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6852"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6852"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/appbay.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6852"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}