localsend icon indicating copy to clipboard operation
localsend copied to clipboard

Feature request WAN File Transfer Support (with STUN/TURN Integration)

Open volkansari opened this issue 11 months ago • 1 comments

Is your feature request related to a problem? Please describe.

Yes. LocalSend currently only supports file transfers between devices connected to the same Local Area Network (LAN). This makes it unusable when devices are on different networks (WAN), such as sending a file from a home PC to a phone on mobile data or to a colleague in another city.

Describe the solution you'd like

I would like LocalSend to support file transfers over WAN by enabling secure peer-to-peer connections between devices on different networks. This could be achieved using:

STUN to detect public IP addresses and NAT types.

TURN for relay-based connections when P2P is not possible.

A settings section where users can optionally enter their own STUN/TURN server details.

A secure pairing process (e.g., PIN or QR code) to approve WAN connections.

End-to-end encryption for all WAN transfers.

Describe alternatives you've considered

Using third-party cloud services, which compromises privacy and adds complexity.

Setting up VPNs manually, which is not user-friendly and requires advanced knowledge.

Using port forwarding, which is not always possible or secure.

Additional context

Adding WAN support via STUN/TURN would make LocalSend a fully decentralized, privacy-friendly, and cross-network file sharing solution — especially useful for remote teams, families, or tech-savvy users who prefer serverless tools.So maybe it could be called GlobalSend

volkansari avatar May 19 '25 06:05 volkansari

I agree. Over-the-internet connectivity is very useful

sammdu avatar Oct 28 '25 17:10 sammdu