bk138 / droidVNC-NG

VNC server app for Android that does not require root privileges.
GNU General Public License v2.0
1.37k stars 200 forks source link

[Feature request] Please make network bindings configurable #43

Open rojoweko opened 3 years ago

rojoweko commented 3 years ago

Please consider making the network bindings of the VNC service configurable, so that one can prevent it from being exposed in potentially untrusted networks. Maybe this could be realized by a checkable list of the current networks/IP addresses (including localhost, for instance if one wants to employ some tunneling technology for making the service externally accessible).

Thanks in advance! ;-)

bk138 commented 3 years ago

IIRC, the server binds to 0.0.0.0 per default, so you should already have a binding to localhost.

rojoweko commented 3 years ago

Sorry, you are right! Localhost just did not show up in the list of network bindings after starting the VNC server, but connecting with a vnc client to localhost actually works! ;-)

olivluca commented 1 year ago

What if I want it fo bind to localhost only? I don't like to have a vnc server exposed to the internet (when using cellular data).

LewisSpring commented 10 months ago

Hi, just putting my two pence in, it would be great if I could bind to a VPN IP like Tailscale and not expose to any old LAN my device connects to.

grifball commented 4 months ago

Seconding this feature for the same reason as @olivluca . I like to bind all services to localhost and then use ssh port forwarding for security. I'll add this feature if I can't find another app that does this.