oscarlosu-lab/USBAnywhere
Tentang
🌐 The Free, Open-Source VirtualHere Alternative for Windows & Linux — Connect unlimited USB devices over LAN, Wi-Fi & Internet (Low-Latency WSK, 1-Click Pi Setup, WHQL Drivers)
Sistem dan infrastrukturYang dapat Anda lakukan
- 🔍 Auto-Discovery - Scan for USB/IP servers across your local network in seconds with live [ms] latency
- ⚡ 1-Click SSH Provisioning - Install and start usbipd on your Raspberry Pi/Linux server automatically
- 🌐 Internet Connection - Connect anywhere via Tailscale, ZeroTier, or WireGuard (NAT traversal)
- 🏎️ Tunable Latency - Status-bar toggle between Zero-Copy throughput and Low-Latency WSK packet handling
Pertumbuhan bintang terukur
- dalam 24 jam
- +5
- dalam 7 hari
- +16
- dalam 15 hari
- +24
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Asli🌐 USBAnywhere — The Free, Open-Source VirtualHere Alternative for Windows
🌐 Language / Idioma: English | Español
v3.6.3 | 🌍 Official Website | 📦 Releases & Downloads | 🌐 USBAnywhere Server (Windows & macOS) | 📱 USBAnywhere Android | 💬 Reddit Community | 📖 User Manual | 🌐 VPN Connection
Why pay $49.00 per server and be restricted to a single USB device? USBAnywhere connects unlimited remote USB peripherals over LAN, Wi-Fi, and Internet with zero licensing fees, Microsoft WHQL-certified drivers, and tunable ultra-low latency.
Transform any Linux device (or Windows PC) into a high-performance Virtual USB Hub accessible from Windows 10 and 11. Compatible with Raspberry Pi, Orange Pi, Banana Pi, Proxmox/HomeLab, Steam Deck, OpenWRT routers, CrealityBox, and any ARM/x86 Linux server.
📦 Which Repository Do I Need?
| Repository | Role | Where to Install |
|---|---|---|
| USBAnywhere (this repo) | Client (Windows WPF + WHQL drivers & Linux CLI) + Linux/Raspberry Pi headless server bootstrap (scripts/install-server.sh) |
On the PC using the remote USB device (and Linux/Pi hosts) |
| USBAnywhere-Server | Windows & macOS Host Server (GUI/tray app to export local USB devices) | Only on the Windows/Mac PC where the USB device is physically plugged in |
| USBAnywhere-Android | Android & Android TV client & rootless OTG host | On Android phones, tablets, Nvidia Shield, or Meta Quest |
| SnakeUSBIP | Staging / Pre-Release Edition (migrating into USBAnywhere) | Experimental branch where unverified improvements are tested first; USBAnywhere is the final production product |
🧭 Project focus
USBAnywhere is a feature-rich desktop and networking solution designed to simplify USB-over-IP access for Windows environments.
The project continues to evolve through a mix of usability, interoperability, and operational reliability improvements. Engineering effort is centered on strengthening platform compatibility, release quality, user experience, and long-term maintainability.
⚔️ Why Switch from VirtualHere to USBAnywhere?
| Feature | USBAnywhere v3.6.3 | VirtualHere | FlexiHub | USB Network Gate |
|---|---|---|---|---|
| Price & License | 100% Free & Open Source (GPLv3) | $49.00 USD / Server | ~$15–$30+ / mo SaaS | $159.00+ USD |
| Simultaneous Devices (Free) | ♾️ Unlimited | ⚠️ 1 Device Only | ❌ 20-min Trial / 1 Conn | ❌ Trial Expired |
| Account & Cloud Privacy | ✅ 100% Offline / Zero Account | ✅ Local License | ❌ Mandatory Cloud Login | ✅ Offline License |
| 1-Click Linux Server Setup | ✅ Built-in SSH & udev Hotplug Auto-Installer |
❌ Manual CLI setup | ⚠️ Closed Binary Daemon | ❌ Proprietary daemon |
| Windows Kernel Communication | ✅ Direct Native VHCI IOCTL + Push Events | ✅ Native Client/Driver | ✅ Proprietary Service | ✅ Proprietary Service |
| Latency & Network Modes | ✅ Dual: Low-Latency WSK & Zero-Copy | ⚙️ Generic | ⚙️ Proprietary Relay | ⚙️ Generic |
| Global Hotkey & Headless CLI | ✅ Ctrl+Alt+D + --disconnect-all/--quit |
❌ GUI Only / Basic | ❌ Closed GUI | ⚠️ Paid SDK |
| User Interface | ✅ Modern WPF (Dark & Light Themes + [ms] Ping) |
🕰️ Legacy Win98 TreeView | 💻 Account-Gated App | 💻 Heavy Commercial UI |
| Drivers (Windows 10/11) | ✅ Microsoft WHQL Certified (HVCI Ready) | ✅ Signed | ✅ Signed | ✅ Signed |
| Native VPN Integration | ✅ Built-in Tailscale, ZeroTier & WireGuard | 💰 Extra / Manual | ⚠️ Cloud Relay Server | ❌ Manual |
🎯 Built for the Communities Left Behind by Paywalls
- 🎮 Cloud Gaming, Moonlight / Sunshine & Steam Deck Pass Xbox/DualSense controllers (with full rumble, adaptive triggers, and audio), wireless headset dongles, and keyboards from your living room Raspberry Pi or handheld directly to your gaming rig.
- 🏎️ SimRacing & Flight Simulators (HOTAS / VR) Connect steering wheels, load-cell pedals, shifters, button boxes, and VR trackers simultaneously over Ethernet using Low-Latency WSK mode without hitting a 1-device paywall.
- 🖨️ 3D Printing (Klipper, Mainsail, OctoPrint, CrealityBox) Bridge multiple USB webcams, ADXL345 resonance accelerometers, and printer mainboards effortlessly.
- 🖥️ HomeLab, Proxmox & Self-Hosted Attach Zigbee/Z-Wave coordinators, hardware security keys, and license dongles (AutoCAD, iLok, eToken) over LAN or Tailscale VPN.
- 🥽 Virtual Reality & Facial Tracking (HTC Vive Facial Tracker, VRChat, Quest) Stream uncompressed 60 FPS dual IR camera streams into VRCFaceTracking (VRCFT) with Zero-Copy mode and Start Minimized to Tray automation without the stuttering or disconnects common in VirtualHere. 👉 Read the VR Facial Tracker Optimization Guide.
🎬 Video Tutorials & Guides (YouTube)
🌟 Full Masterclass Tutorial (The FREE VirtualHere Alternative)
▶️ Watch Full Masterclass Tutorial on YouTube
🔥 Diode Laser & LightBurn Camera Setup Guide
Connect your diode laser (GRBL/Ruida) and overhead alignment camera simultaneously over Wi-Fi or VPN with zero mid-burn disconnects and zero paywalls:
▶️ Watch Diode Laser & LightBurn Camera Tutorial on YouTube
🆕 What's New in v3.6.3
- ⌨️ Automatic Logitech Unifying / K400 Fix (
LogitechUnifyingQuirk): Automatically switches virtualized Logitech Unifying receivers (046d:c52b,046d:c532) out of Linuxhid-logitech-djmode into standard Windows HID mode right after attach and kernel-persistent reconnects (scoped strictly to USB/IP VHCI devices so local dongles are never touched). - 🎮 Synced Windows Server v3.5.3: Adds Windows Game Controller OEM name resolution, SimRacing/Flight-Sim icons, and strict portable
usbipd-windriver detection. - 🙏 Credits: Thanks to the r/UsbAnywhere K400 fix post and @drowhunter!
🆕 What's New in v3.6.2
- 🌐 Complete EN/ES Localization (
#27): Fixed duplicatebtn_pairoverride, localizedPairServerDialogand runtime pairing/API logs, and added[CustomMessages]to the Windows installer. - 🔍 CIDR-Aware LAN Subnet Scanning (
#28): Uses the interface's actualIPv4Mask(/22,/23,/25, etc.) for host enumeration and real subnet broadcast probes instead of assuming/24. - 🏷️ Window Title Version: Displays the current app version dynamically in the Windows Client title bar.
🆕 What's New in v3.6.0
- 🔐 Zero-Config 6-Digit /
UA2:Pairing & Pinned TLS 1.3 Tunneling - One-click pairing (PairServerDialogGUI +--pairCLI) and automatic SHA-256 certificate-pinned loopback TLS bridging inUsbipService. - 🎬 Multi-Provider Streaming Handoff - Automatic detection and per-device
only-during-streamattach/detach for Sunshine, Apollo, Vibeshine, Vibepollo, Parsec, and Steam Remote Play. - 🧩 Windows Multi-Session Isolation, Local REST API & MCP Server - WTS session port ownership (
SessionIsolationService), loopback HTTP control API (127.0.0.1:13241), 6-tool stdio MCP (usbanywhere-mcp.py), headless--status/--doctorCLI, and Home Assistant guide. - 🔍 Smart Favorites
[Rev:XXXX]& Driver0.9.8.2Dual-ABI - Hardware revision disambiguation for dual identical dongles, Linux auto-disable USB autosuspend, pre-bind--reset, systemdusbipddrop-ins, and 8-frame HiDPI icons.
🆕 What's New in v3.5.0
- 📌 Kernel Boot Persistence & Retry Control (
VhciNativeClient.cs) - Save attached devices in theusbip2_udekernel driver to re-attach automatically on Windows boot, or stop active kernel attach retries from the context menu. - 🏷️ Custom USB Serial Numbers & Virtual Hub Ports (
KernelConfigService.cs) - Assign persistent customSerialstrings per remote device and configure Virtual Hub USB 2.0 / USB 3.0 port capacity (30/30default). - 🩺 One-Click Diagnostics Bundle (
KernelDiagnosticsService.cs) - Export a.ziparchive with driver status, imported VHCI ports, Virtual Hub configuration, and recent logs. - 🔒 Linux Control API Hardening & UAS Detection (
usbanywhere-ctlv3.5.0) - Optional IP allowlist (allowed_ips) and constant-time HMACcontrol_tokenauthentication (policy allow-ip|deny-ip|set-token|clear-token) on TCP3241, plusuasexternal SSD compatibility notices.
🆕 What's New in v3.4.1 (USBAnywhere Multiplatform Suite)
🔗 Single-Instance IPC Forwarding (
--connect/--attach) - LaunchingUSBAnywhere.exe --connector--attachforwards the request directly to the already-running instance via named IPC pipe instead of spawning a duplicate window.⚡ Direct Kernel VHCI IOCTL & Real-Time Push Events (
VhciNativeClient.cs) - Communicates directly with theusbip2_udeWindows kernel driver via Win32DeviceIoControland async overlappedReadFileevents (eliminating repeatedusbip.exeprocess spawns, regex parsing, and per-call SHA-256 checks, with clean CLI fallback and Windows 11 tray icon sizing).⌨️ Global Hotkey (
Ctrl+Alt+D) & Headless CLI Controls - Instantly release all remote USB peripherals via configurable hotkey, trayDisconnect All, or headless CLI flags (--disconnect-all,--disconnect <port>,--quit).🐧 Universal Linux Client Mode (
usbanywhere-ctlv3.4.1) - Full client support on Linux (SteamOS, Bazzite, Ubuntu, Debian, Mint, Arch, Fedora) viavhci_hcdwith automatic On-Demand Dynamic Binding (TCP 3241LIST/BIND/UNBIND) (scan,remote,connect,disconnect,ports+ interactive Dashboard[9]/[0]).⌨️ Android USB Keyboard, String Fallback & Pure HID Enumeration Fix (
UrbSession.kt) - Accurate Full/Low/High-Speed deduction (deduceSpeed),URB_SHORT_NOT_OKclearance,rawDescriptorsfallback (0x01/0x02/0x03/0x21),bInterval == 0sanitizer, synthesized0x22HID Report Descriptors (Boot Keyboard/Mouse/Gamepad), and benignSET_IDLE/SET_PROTOCOLcompletion for Windows UDE clients.📺 Android TV / Nvidia Shield D-Pad & Gamepad Navigation (
TvFocus.kt) - Full remote-control and gamepad focus navigation across all tabs, switches, and device cards.🎮 DualSense Audio Interface De-Authorization & Raspberry Pi
dwc_otgDiagnostics - Class-basedudevrule (ENV{DEVTYPE}=="usb_interface", ATTRS{idVendor}=="054c", ATTR{bInterfaceClass}=="01", ATTR{authorized}="0") preventingusbip_hostisochronous audio panics across all DualSense (0ce6/0df2) firmware revisions.⚡ 1-Click SSH & Plug & Play Server Auto-Setup - Turn any Raspberry Pi, Debian, or Ubuntu machine into a ready-to-use USB over IP server with automatic On-Demand dynamic export.
🏎️ Interactive Dual Performance Modes (
⚡ Mode: Zero-Copy/🏎️ Mode: Low-Latency) - Switch betweenzero-copy(high bandwidth storage/video) andlow-latency(fast WSK event callbacks for HID/gaming/SimRacing) directly from the status bar.🛡️ Certified WHQL Drivers - Official Microsoft-certified drivers for Windows 10/11 x64 with full Core Isolation (HVCI) support.
📦 Hybrid Portable & Installer Mode - ZIP releases store config locally; the hardened Inno Setup installer uses
%AppData%\USBAnywhereand supports quiet--minimizedWindows startup.
✨ Key Features
- 🔍 Auto-Discovery - Scan for USB/IP servers across your local network in seconds with live
[ms]latency - ⚡ 1-Click SSH Provisioning - Install and start
usbipdon your Raspberry Pi/Linux server automatically - 🌐 Internet Connection - Connect anywhere via Tailscale, ZeroTier, or WireGuard (NAT traversal)
- 🏎️ Tunable Latency - Status-bar toggle between Zero-Copy throughput and Low-Latency WSK packet handling
- 🔌 One-Click Connect & Auto-Disconnect - Connect/disconnect devices cleanly
- ⭐ Favorites & Auto-Reconnect - Save devices with automatic 3-attempt reconnection and per-device latency profiles
- 📋 Detailed Hardware Info & Renaming - Real-time VID:PID, vendor lookup for 25,000+ USB devices, and custom device names
- 🎨 Modern Native GUI - Fast .NET 9 WPF interface with live Dark and Light themes
- 🌐 Multi-language - Instant switching between English and Spanish
- 🔄 Secure Auto-Update - Verifies GitHub releases with mandatory SHA-256 cryptographic checks (
SHA256SUMS.txt)
📦 Installation
Option 1: Portable (No installation required)
- Download from USBAnywhere Releases (v3.6.3):
- Windows x64:
USBAnywhere-v3.6.3-x64.zip - Windows ARM64:
USBAnywhere-v3.6.3-arm64.zip(Surface Pro X, Snapdragon X Elite, etc.) - Linux Client & Server Suite: Run
scripts/install-server.sh(see 1-line installer below)
- Windows x64:
- Extract the ZIP to any folder
- Run
USBAnywhere.exeas Administrator - Done!
Option 2: Installer (x64 Recommended)
- Download
USBAnywhere_Setup_v3.6.3.exefrom USBAnywhere Releases (v3.6.3) - Run the installer as Administrator
- Follow the installation wizard
⚠️ ARM64 Users
ARM64 drivers are test-signed. See README_ARM64.md in the ZIP for instructions to enable Windows Test Mode.
🚀 Quick Start
- Scan - Click
🔍 Scanto find servers on your network - List - Click
📋 Listto see available USB devices - Connect - Double-click a device or right-click → Connect
- Disconnect - Right-click → Disconnect
⚡ 1-Click Linux / Raspberry Pi Server Setup
- Click
🔗 SSHin the top toolbar - Enter your Raspberry Pi / Linux username (e.g.
piorroot) and IP - Click
⚡ 1-Click Auto-Setup— it automatically installsusbip, loads kernel modules persistently, starts the daemon, and lists your USB ports!
Or run our 1-Line Plug & Play Installer on Linux / Raspberry Pi:
curl -fsSL https://raw.githubusercontent.com/oscarlosu-lab/USBAnywhere/main/scripts/install-server.sh | sudo bash
💡 100% Plug & Play (Like VirtualHere!): Installs
usbipd, creates asystemdservice, and adds audevhotplug rule that automatically exports any USB device as soon as you plug it into your Raspberry Pi/Linux server — zero manualusbip bindcommands required!
🐳 Docker / HomeLab / NAS Server (docker-compose.yml)
Run a Plug & Play USB/IP server on Unraid, TrueNAS, Synology, or Proxmox using docker/docker-compose.yml:
git clone --recursive https://github.com/oscarlosu-lab/USBAnywhere.git && cd USBAnywhere/docker && docker compose up -d
🐧 Linux Client Mode (usbanywhere-ctl — SteamOS, Bazzite, Ubuntu, Mint, Arch, Fedora)
Connect remote USB devices from any USBAnywhere server (Android, Raspberry Pi, Linux, Windows, macOS) directly to a Linux client using usbanywhere-ctl (with full On-Demand Dynamic Binding TCP 3241 + vhci_hcd support):
sudo usbanywhere-ctl scan # Discover USBAnywhere servers on LAN & Tailscale/VPN
sudo usbanywhere-ctl remote 192.168.1.50 # List exported + On-Demand USB devices on a remote server
sudo usbanywhere-ctl connect 192.168.1.50 1-1.4 # Dynamically bind & attach a remote USB device
sudo usbanywhere-ctl ports # List currently attached virtual USB client ports
sudo usbanywhere-ctl disconnect all # Detach client port(s) & release back to remote host
sudo usbanywhere-ctl policy allow-ip 192.168.1.50 # Restrict TCP 3241 control access by IP (optional)
sudo usbanywhere-ctl policy set-token <secret> # Require HMAC token for TCP 3241 commands (optional)
🎮 Moonlight / Sunshine / Playnite CLI Automation
Automate controller, wheel, or headset attachment when starting a game stream:
USBAnywhere.exe --minimized --connect 192.168.1.50 1-1.4
🌐 Internet Connection (VPN)
- Install Tailscale on Windows and your server
- Click
● VPNto scan peers with active USB/IP (port 3240) - Select remote server(s) and click Connect
See docs/VPN_INTERNET_EN.md for the complete guide.
🐧 Manual Linux Server Setup (Optional)
Works on any Linux device with USB ports (Raspberry Pi, Orange Pi, Banana Pi, OpenWRT, CrealityBox, Debian/Ubuntu x86/ARM):
Debian / Ubuntu / Raspberry Pi OS:
sudo apt update && sudo apt install -y usbip hwdata usbutils
sudo modprobe usbip_host
sudo usbipd -D
sudo usbip list -l
sudo usbip bind -b 1-1.4 # Replace with your bus-id
OpenWRT:
opkg update && opkg install usbip-server kmod-usb-ohci
usbipd -D
See docs/RASPBERRY_PI_SERVER_EN.md for complete instructions.
📚 Documentation & Technical Manuals
| Guide | Description | Language |
|---|---|---|
| Security Policy | Zero-Trust defense, WHQL drivers & Authenticode validation | English · Español |
| Windows Client Manual | Comprehensive UI navigation, latency modes & shortcuts | English · Español |
| Desktop Server Guide | Unified Windows (.NET 9) & macOS (Swift) server suite | English · Español |
| macOS Server Manual | Native Swift server setup for Apple Silicon M1-M4 & Intel | English · Español |
| Raspberry Pi / Linux | 1-Click setup, systemd service & udev hotplug auto-export | English · Español |
| Docker Server Guide | Privileged container deployment & Docker Compose | English · Español |
| VPN & Internet Setup | Tailscale, ZeroTier & WireGuard remote gaming guide | English · Español |
| Windows ARM64 Guide | Test-signing instructions for Snapdragon X Elite / Surface Pro | English |
🔐 Code Signing
Free code signing provided by SignPath.io, certificate by SignPath Foundation.
Official Windows binaries are cryptographically signed using SignPath Foundation to verify their authenticity, provenance, and integrity. Read our full Code Signing Policy.
📄 License
This project is licensed under the GNU General Public License v3.0 (GPLv3).
USBAnywhere is 100% Free and Open Source. You are free to run, study, share, and modify the software under the terms of the GNU General Public License as published by the Free Software Foundation. GPLv3 copyleft prohibits closed-source proprietary commercial reuse and requires preserving all copyright notices with prominent attribution to oscarlosu-lab (
https://github.com/oscarlosu-lab) for any full or partial reuse.
See LICENSE for full legal terms and conditions.
🔗 USBAnywhere Ecosystem
| Component | Platform / Role | Description |
|---|---|---|
| USBAnywhere Client | 🖥️ Windows 10/11 (x64 / ARM64) | Connect to remote USB devices with WHQL drivers & WSK engine |
| USBAnywhere Server | 🌐 Windows & 🍎 macOS | Desktop USB/IP server with GUI (Windows) & Swift daemon (macOS) |
| USBAnywhere Android | 📱 Android & Android TV | Rootless USB/IP server, Sunshine handoff & DualSense haptics |
| Official Website | 🌍 Web Portal | Interactive guides, documentation & download hub |
| Reddit Community | 💬 r/UsbAnywhere | Support, discussions, community setups & announcements |
| Support on Ko-fi | ☕ Community | Support hosting, driver testing & open-source engineering |
☕ Support the Project
If USBAnywhere helped your sim rig, cloud gaming, or 3D printing setup, consider buying us a coffee on Ko-fi. Your contributions directly fund driver code-signing certificates, test hardware (SBCs, controllers, wheelbases), and hosting.
📜 Project History & Transparency
USBAnywhere started as an independent open-source Windows & Linux USB/IP GUI wrapper around Vadim Grn's WHQL-signed usbip-win2 drivers and the Linux usbip stack, continuing the multi-device workflow pioneered by OctoWrt.
- 100% Open Source & Auditable: Every release is built directly from public source via GitHub Actions with verifiable
SHA256SUMS.txtchecksums and documented driver dependencies. - No Hidden Telemetry or Bundled Services: The client communicates only with the USB/IP servers you configure (plus optional, user-confirmed GitHub Release update checks).
- Clear Attribution: All upstream driver authors, community testers, and contributors are explicitly credited below.
🙏 Credits
| Project | Author | Contribution |
|---|---|---|
| usbip-win2 | Vadim Grn | Microsoft-signed USB/IP drivers (WHQL certified). Core of the Windows client. |
| Community & Testers | @drowhunter, r/UsbAnywhere, @C-Losch, @50P15, @MaestroLiendre | Windows asInvoker + on-demand UAC elevation feedback, Logitech Unifying/K400 (046d:c52b/c532) testing, SimRacing/Flight-Sim low-latency validation, and real-world bug reports. |
| OctoWrt | ihrapsa | Original OpenWrt guide for CrealityBox. Inspiration for embedded device support. |
| OctoWrt Fork | ShivaJiva | Active OctoWrt maintenance. Updated releases for CrealityBox. |
| USB/IP | Linux Kernel | Original USB/IP protocol |
| USBAnywhere | SnakeFoxu (OscarLosu) | .NET 9 WPF GUI, 1-Click SSH setup, VPN integration, latency modes & documentation |
Jelajahi proyek terkait
Memuat…