bk138 / droidVNC-NG

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

Autostart VPN when server starts #166

Closed Bobson1729 closed 1 year ago

Bobson1729 commented 1 year ago

Please add a way to autostart the VPN server when opening the app.

Thank you.

bk138 commented 1 year ago

Hi! Please have a look at the Intent Interface described at https://github.com/bk138/droidVNC-NG#remote-control-via-the-intent-interface - especially the last part about Broadcast Intents: once started the server sends a net.christianbeier.droidvnc_ng.ACTION_START broadcast intent; you can then have an automation app listen for this and have it setup your VPN. The README lists some of those automation apps, there might be more.