J
You can use Servers Ultimate (com.icecoldapps.serversultimate) from Ice Cold Apps to ran VPN Server on your Android device. But it has limitations:
VNC Server: doesn’t work on most devices.
ARM based: Caddy, VPN, Port forward, MySQL monitor, Nginx, Traceroute
Root needed: Port forwarder, VNC, VPN, SMB Native
Permission SMS: start/stop rules
Permission coarse location: wifi selector tool