{"id":579,"date":"2025-01-21T10:19:11","date_gmt":"2025-01-21T03:19:11","guid":{"rendered":"https:\/\/nbvps.anhtuanlqd.com\/?p=579"},"modified":"2025-01-21T15:16:06","modified_gmt":"2025-01-21T08:16:06","slug":"how-to-rdp-to-windows-using-zerotrust-cloudflared","status":"publish","type":"post","link":"https:\/\/nbvps.anhtuanlqd.com\/?p=579","title":{"rendered":"How to RDP to Windows using ZeroTrust Cloudflared"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Open and connect a tunnel to the target (Windows), with hostname: RDP &#8211; 192.168.x.x<\/li>\n\n\n\n<li>Install cloudflare service at &#8220;The Start&#8221; (Mac OS, or any)<\/li>\n\n\n\n<li>Run this command at the start to forward Websocket (hostname for rdp to localhost:3389). The following command is for the hostname of the tunnel: rdp.anhtuanlqd.com<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo cloudflared access rdp --hostname rdp.anhtuanlqd.com --url rdp:\/\/localhost:3389\n\nsudo cloudflared access tcp --hostname vncmini.anhtuanlqd.com --url localhost:5901\n\nsudo cloudflared access ssh --hostname sshl8.anhtuanlqd.com --url localhost:2000<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Open the app for remote (in Mac OS use &#8220;Windows&#8221; app). In the IP: localhost:3389 (it will go through websocket to authenticate.<\/li>\n\n\n\n<li>Then Done!!<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[205,50,1,23],"tags":[206,211,207,209,210,208],"class_list":["post-579","post","type-post","status-publish","format-standard","hentry","category-cloudflare","category-command","category-others","category-tips-and-trick","tag-cloudflared","tag-rdp","tag-tunnel","tag-zero-trust","tag-zero-trust-tunnel","tag-zerotrust"],"blocksy_meta":[],"_links":{"self":[{"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/posts\/579","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=579"}],"version-history":[{"count":4,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/posts\/579\/revisions"}],"predecessor-version":[{"id":583,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=\/wp\/v2\/posts\/579\/revisions\/583"}],"wp:attachment":[{"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=579"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=579"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nbvps.anhtuanlqd.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=579"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}