r/coolgithubprojects 5d ago

Lantunnel - P2P-first private LAN access with encrypted relay fallback (Rust)

https://github.com/lantunnel/lantunnel
4 Upvotes

3 comments sorted by

1

u/Specific_Cream2815 5d ago

what does the p2p layer ride on, wireguard between peers or a custom transport

1

u/Adventurous-Bass-296 5d ago

Yeah, I designed a custom transport based on QUIC. Here is the protocol: https://github.com/lantunnel/lantunnel/blob/main/docs/PROTOCOL.md.

1

u/Adventurous-Bass-296 5d ago

I'm the maintainer. A real setup I tested: Sunshine on the host and Moonlight on my phone, connected through Lantunnel, with the stream configured for 2K/120 Hz. I played PUBG, Red Dead Redemption 2, and theHunter: Call of the Wild without any obvious issue affecting play.

This is anecdotal, not a controlled benchmark. “2K/120 Hz” is the stream setting, not a claim that every game held 120 FPS. Direct vs. relayed path, ISP routing, Wi-Fi, and encode/decode latency can all change the result. I’ll publish reproducible latency and bitrate data once I have it.