szimek / sharedrop

Easy P2P file transfer powered by WebRTC - inspired by Apple AirDrop
https://www.sharedrop.io
MIT License
9.35k stars 682 forks source link

Bypass VPN #124

Open xplosionmind opened 2 years ago

xplosionmind commented 2 years ago

If the device uses a VPN, it does not appear on other devices and it sees none.

It would be great if sharedrop could automatically detect VPN connection and bypass it. Is it possible?

falktan commented 1 year ago

It is not possible from a script running in the browser to detect or bypass a VPN connection (see e.g.: https://stackoverflow.com/questions/29474328/detecting-vpn-connection).

If no one objects I would hence suggest to close this issue.

xplosionmind commented 1 year ago

It is not possible from a script running in the browser to detect or bypass a VPN connection

What about changing the system-wide or the VPN configuration by making an exception for sharedrop? Is there an IP address I can whitelist, or any broader setting I could change to avoid switching off my VPN altogether to use this service?