iTranslated by AI
Remote Access to Android Devices Behind a Router from a Windows PC
General Flow
The steps are explained below:
- Install a remote access server on the target Android device.
- Configure the router settings.
- Install client software on the source Windows PC.
- Access using SORACOM Napter.
Prerequisite Configuration
A setup for remote access from a Windows PC to an Android device located behind a router.

Devices and Software Used
Remote Access Method
I chose VNC as it is a method that can be used for free even for commercial purposes.
Although I won't go into detail here, I understand the following are available as paid software/services:
- AirDroid
- TeamViewer
- ApowerMirror
- MirrorTo
- Vysor
VNC Server
I used the following software as the VNC server to be installed on the Android side.
DroidVNC-NG
The following have been confirmed:
-
No rooting required
-
Free for commercial use
https://github.com/bk138/droidVNC-NG?tab=GPL-2.0-1-ov-file#readme -
Both download count and review ratings are decent

-
Updates are currently being maintained
Recent releases (as of 2024/3/18) are as follows:- v2.2.0: 2024/2/7
- v2.1.7: 2023/12/22
- v2.1.6: 2023/11/28
VNC Client
I will use the Tiger VNC client.
- Free for commercial use
https://github.com/TigerVNC/tigervnc?tab=GPL-2.0-1-ov-file - Updates are currently being maintained
Recent releases (as of 2024/3/18) are as follows:- v1.13.1: 2023/3/6
- v1.13.0: 2023/2/8
- v1.13.0Beta: 2022/12/23
- v1.12.0: 2021/11/10
Router
Use a router that supports Port Forwarding.
This time, I used the Teltonika RUT 240.
Procedure
1. Install a remote access server on the target Android device
Search for "droidvnc-ng" in the Play Store and install it.

After configuring the necessary settings and tapping "START," the device will be ready for VNC access.

The number in the Port field is the port number used by this device for VNC, which will be the destination port number for the router settings later.
The "START" button will change to "STOP" immediately after being tapped.
2. Configure the router settings
Access the router's configuration screen.
If connecting locally, join the router's Wi-Fi,

Access the web UI configuration screen via a browser (e.g., http://192.168.1.1)

Configure the router
Set up port forwarding to redirect traffic incoming on port 55900 on the WAN side to port 5900 (the port number from the app settings) on the Android device.

This configuration process varies depending on the router.
For the UD-LT2, the screen looks like this.

The port number set on the WAN side (55900 in this case) will be used in the subsequent Napter configuration.
3. Install client software on the source Windows PC
Download "vncviewer" from the Tiger VNC download site https://sourceforge.net/projects/tigervnc/files/stable/1.13.1/ .
(If you are using Windows 10 or later, vncviewer64 should be fine.)

An exe file will be downloaded, so save it in an appropriate location.
4. Access using SORACOM Napter
Provision a global IP and port number for accessing port 55900 on the WAN side.
Select the line corresponding to the router's SIM from the SIM management screen (check the checkbox on the left).

Click "On-demand remote access" from the Action button.

Allow access to port 55900 of the router for the next 30 minutes.

Copy the "IP address:port" listed in the IP address field to the clipboard.

Launch the vncviewer downloaded earlier.

Enter the IP address:port copied to the clipboard.

Successfully accessed.

Discussion