{"by":"fiddyschmitt","descendants":37,"id":40553267,"kids":[40562948,40564677,40568445,40568478,40570049,40564723,40565947,40564964,40568710,40571062],"score":180,"text":"This program can be used to tunnel TCP connections through a file.<p>People have used it for interesting things:<p>- Bridging connections which would otherwise be blocked by a firewall<p>- Tunneling through RDP (similar to an SSH tunnel)<p>- Exposing a localhost web server to others<p>Key features I put effort into:<p>1. The shared file is restarted every 10 MB, so it doesn&#x27;t grow indefinitely.<p>2. Optimisations for latency &amp; bandwidth. (800 Mbps on a Gigabit LAN. 108 Mbps if file tunneling through RDP)<p>3. Synchronisation between two sides (each side can be started and restarted in any order)<p>I&#x27;d love to hear about any weird and wonderful uses you might have for it.<p>Thanks, Fidel","time":1717328344,"title":"Show HN: Tunnelling TCP through a file","type":"story","url":"https://github.com/fiddyschmitt/File-Tunnel"}