1

I've been looking for a reliable way to remotely access one of my computers when I'm not physically there, and so far TeamViewer has worked quite well for my purposes. However, I'm curious to know if it'd be possible to use an external device, such as a Raspberry Pi, to send video output from the PC and input keyboard + mouse actions to the PC.

This allows me to control the PC before Windows allows Teamviewer to start, which I'm sure you could imagine to be useful.

Thanks in advance.

4
  • 1
    OpenVPN or Wiregaurd configured on the router or PC, along with a port redirect [port forward] on the router to the RDP/VPN port of the PC, then connect via RDP from the external device being used. If configuring the VPN on the PC, you'll need to firewall appropriately on the PC for the forwarded WAN port for the VPN (use a really high port >50000, not the default port) and you'll need to allow traffic between the VPN and LAN interfaces. While the throughput is limited by the ISP upload speed, AES-NI CPUs process encryption more efficiently.
    – JW0914
    Commented Jun 4, 2021 at 13:06
  • Please don't expose RDP to the internet directly, this left people vulnerable to major security issues in the past.
    – Unencoded
    Commented Jun 4, 2021 at 14:10
  • @Unencoded That wasn't what I was stating - the only port that should be opened to WAN is the VPN server's port, preferably not using the default port, but one >50000 to prevent thousands of blocked connections daily (port scanners will generally not scan all 65,535 ports). If the VPN server is set up on the router: RDP port needs a port redirect from router's VPN interface to router's LAN interface and rdpIP:rdpPort; If the VPN server is set up on the PC: Port redirect from router's WAN interface to LAN interface IP:VPNport for the VPN server running on the PC.
    – JW0914
    Commented Jun 4, 2021 at 15:57
  • Ah I see what you mean now!
    – Unencoded
    Commented Jun 4, 2021 at 20:16

1 Answer 1

1

I'm sure that could be done, but it would be a complicated way to do things!


The simplest solution in your case would probably be to enable the "Unattended Access" features of TeamViewer.

TeamViewer Interface

By setting up "Easy Access" and enabling TeamViewer to start with Windows, you'll be able to connect to TeamViewer and interact with the Windows login screen.


Note that this does place a degree of trust in the security of TeamViewer and your TeamViewer account. Should either be compromised, the attacker would potentially be able to connect to your computer in the same way that you can.

The most common approach for this kind of thing is to connect to your network via a Virtual Private Network (VPN) server, which you can run on a Raspberry Pi.

You would then expose the VPN to the internet and connect to the VPN from wherever you are in the world. Once connected, you would able to connect to your computer as though you are on the same network. You could then use the "Remote Desktop Protocol" to connect to your Windows computer, which is the native equivalent of TeamViewer.

This way, you wouldn't be reliant on TeamViewer. However, you would need to keep your VPN server secure to prevent someone connecting to your network.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .