<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Elvin Huseynov</title>
    <description>The latest articles on DEV Community by Elvin Huseynov (@codewithelvin).</description>
    <link>https://dev.to/codewithelvin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4261967%2F86645ad5-1ab7-4509-8c9a-0a7f16422742.jpg</url>
      <title>DEV Community: Elvin Huseynov</title>
      <link>https://dev.to/codewithelvin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codewithelvin"/>
    <language>en</language>
    <item>
      <title>Self-hosted remote desktop in Rust that survives hotel Wi-Fi and strict firewalls</title>
      <dc:creator>Elvin Huseynov</dc:creator>
      <pubDate>Tue, 24 Nov 2026 06:47:14 +0000</pubDate>
      <link>https://dev.to/codewithelvin/self-hosted-remote-desktop-in-rust-that-survives-hotel-wi-fi-and-strict-firewalls-c0m</link>
      <guid>https://dev.to/codewithelvin/self-hosted-remote-desktop-in-rust-that-survives-hotel-wi-fi-and-strict-firewalls-c0m</guid>
      <description>&lt;p&gt;I needed to reach family and office PCs over hotel Wi-Fi, mobile data and a strict company firewall, and I kept fighting laggy, frozen sessions. So I built &lt;strong&gt;Remote Desktop Rider&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;GitHub:&lt;/strong&gt; &lt;a href="https://github.com/codewithelvin/remote-desktop-rider" rel="noopener noreferrer"&gt;https://github.com/codewithelvin/remote-desktop-rider&lt;/a&gt; (MIT)&lt;/p&gt;

&lt;h2&gt;
  
  
  The self-hosted part
&lt;/h2&gt;

&lt;p&gt;A small &lt;code&gt;rider-server&lt;/code&gt; on any Linux VPS introduces devices and relays traffic when a direct path isn't possible. It only ever sees encrypted data; it can't watch or take over sessions. There are no accounts and no cloud: devices pair once by comparing a verification code, and every session needs the computer's PIN.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Install on a VPS&lt;/strong&gt; (the script is &lt;code&gt;deploy/get.sh&lt;/code&gt;; please read it first):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -fsSL https://codewithelvin.github.io/remote-desktop-rider/install.sh &lt;span class="o"&gt;|&lt;/span&gt; sudo bash -s -- &lt;span class="o"&gt;&amp;lt;&lt;/span&gt;public-ip&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It verifies the binary's SHA-256, installs a hardened systemd unit and prints the address and fingerprint you enter in the app. Add &lt;code&gt;--domain&lt;/code&gt; and &lt;code&gt;--email&lt;/code&gt; to also get an HTTPS fallback via nginx + Let's Encrypt for networks that block UDP.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why it holds up on bad links
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;QUIC over UDP, one stream per video frame: a lost packet never stalls newer frames, and stale frames are dropped, not resent&lt;/li&gt;
&lt;li&gt;Hardware H.264 (QuickSync/NVENC/AMF); bitrate adapts live from 300 kbps to 20 Mbps, and Auto quality lowers resolution on slow links&lt;/li&gt;
&lt;li&gt;The cursor is drawn locally, so the pointer stays snappy&lt;/li&gt;
&lt;li&gt;Connection fallback: direct on LAN → NAT hole punching → relay → random UDP port → TLS tunnel on TCP 443&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Also
&lt;/h2&gt;

&lt;p&gt;Unattended access (works at the login screen, lock screen and UAC prompts, and after reboots), clipboard sync, drag-and-drop files, multi-monitor, one-time "quick connect" codes for helping someone once, and auto-updates with SHA-256 checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits, honestly
&lt;/h2&gt;

&lt;p&gt;The computer being controlled must be Windows for now (you can control it from Windows, macOS or Debian/Ubuntu). Builds aren't code-signed yet (no budget), so Windows SmartScreen will warn; every release publishes &lt;code&gt;SHA256SUMS&lt;/code&gt;. It's young, so I'd love reports from real networks; there's an issue for that on GitHub.&lt;/p&gt;

&lt;p&gt;Happy to answer anything in the comments!&lt;/p&gt;

</description>
      <category>rust</category>
      <category>selfhosted</category>
      <category>opensource</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
