Digital Nomad RDP

Overview

Introduction

Alright, Its been a while since I posted in the Digital Nomad Series. Life happened, Work got busy, I got laid off and lost motivation to post here but job prospects have started to look up and that motivation has returned so here is the next in the Digital Nomad Series, How to setup an emergency or backup system for use in the event that your Digital Nomad VPN doesnt work or is down.

Disclaimer: This wont work for everyone, some companies enforce accessing company resources from a work device, in that case this wont work for you, and this also requires that you carry a personal laptop as well because if your Digital Nomad VPN is down then you dont want to risk leaking your location with your work computer by connecting to a local network.

First and foremost let me itterate that even with the perfect setup like we talked about in the beginning of this series, you are still bound to have issues now and then. Lets take my client "Mike" as an example, he reached out to me shortly after I published the start of this series and offered to pay me for setup, I got him all setup and off he went, however he has had some issues here and there in which he has reached out and I got him sorted promptly but the moral of this ted talk is what if I wasnt available right away? what if I am available but cant fix it? What if you set this up yourself and fail to diagnose or remediate the issue on your own? (I do offer my services for both setup and support, check out the Contact Page for a link to schedule time with via Calendly. My rates are very reasonable and I offer contiuned support as well!) what if the hardware on the US side (the HomeRouter as mentioned in the former of the series) has crashed or is not responding?

At this point your fucked, your dead in the water with no paddle, your option is pretty much only one, get on a plane and go back to the states (or your home nation) ASAP! which is not really ideal nor feasible for everyone thus here is the second part of the series.

How to setup a USFF (Ultra Small Form Factor), NUC, x86 Thing client, etc... with RDP published to the internet (I will cover several ways of this, from super secure by using a cloudflare tunnel or mesh network like tailscale to just simply publishing the RDP port and in a later post in this series I will cover securing RDP with 2FA with something like DUO) The latter of those is the proper way and my recodmended setup however I will cover how to just expose the RDP port and secure your account by requiring more than one factor of authentication.

Hardware

Lets jump in, First we need to discuss hardware, I dont personally have one recomendation so we will cover a few different catagories starting with USFF and Micro PC's. These can be picked up for extremely cheap, often for $150 or less, from places like Ebay or Gov Auction sites. Lets start with USFF, My personal brand choice is Dell but other vendors make the same types of machines. A good choice from dell would be the Optiplex 9020, in this image we have from Left to Right the 9020 MiniTower (This would be like a Mini ATX form factor), In the middle we have the 9020 SFF (This Small form factor would also be a good choice but as you can see is still a decent amount larger than the MiniTower size to the Right), and last we have the 9020 USFF and as you can see its much smaller than both the MiniTower and the SFF size thus we would want the USFF model to take up as little space at its host location as possible.

Dell Optiplex

Second we will cover NUC's, There are so many models and/or manufactureres that make the NUC's so I will just be using a generic photo here but you get the idea of the form factor/size footprint of this option, These can also be picked up for cheap albeit more than the previous option (between $200-$600 depening on new/used/generation) but they are also much more powerful and are in current production so if price is no issue you would get a current gen intel processor for a whopping $1000+. This is good option if you also want to be able to do personal stuff like remote/streaming Gaming as a lot of these support thunderbolt 3 and can facilitate an E-GPU (I will do another series covering this as well as I think its a common topic these days)

Intel NUC

Lastly we will talk about MicroPC's and x86/64 Thin Clients that are more than powerfull enough for a remote work option. These are going to be about the same form factor as the NUC, maybe a little bigger but thinner, they are also going to be the cheapest option as they are plentiful used on ebay from Enterprises refreshing their tech footprint. We will use the Dell Wyse 3040 as an example here (insert picture) and can be picked up for anywhere from $20 to $100+ depening on model and specs, (like all previous options this form factor can be found by many manufacturers) these are going to be the least powerful but should still be more than enough for most work consisting of Email, Web based Applications or Fat Clients but wont be enough for things like photoshop or compiling code, so there we have all the obvious options for hardware lets move on to the "How it works" part of this post.

Dell Wyse 3040

Alright so you have chosen your hardware at this point and are almost ready to get setup, Lets talk about how it works, You put your remote workstation at a location in the US or your home nation (this can be the same location as your HomeRouter or another location to add redundancy in the event that your HomeRouter is down from a reason like an ISP outage in which case your remote workstation would be down too so ultimatly I would recomend putting this somewhere else but if you only have the location of your HomeRouter then that works too albeit losing the redundancy aspect.)

Basics

So lets start at the basics, Windows computers have, Built-in to the OS, a feature called Remote Desktop or RDP (Remote Desktop Protocol for short.) This is the lifeblood of this setup (there are other ways of connecting remotely to the desktop like VNC, NoVNC, Teamviewer, etc... but they all have perfomance issues compared to using the built-in OS level feature of RDP thus we will only cover those as a backup connection method if RDP is down due to issues like dynamic ip changes, dyndns issues, port issues etc... as options like anydesk or teamviewer can punch through without the need for port forwards) All windows versions currently supported will have both the Application to connect to other machines with RDP as well as the ability to enable those remote connections to them, so its as simple as going into the settings on that machine and enabling remote connections and adding the user you want to be able to connect with to the right group. Check out How to Enable RDP for Microsoft's documentation on how to enable RDP.

Networking

Now that we understand what we are connecting to we can talk about the networking side of this, You can either open the port by port forwarding or the recomended way would be setting up Tailscale or a Cloudflare Tunnel and connecting that way as this does not expose the port to the internet and only you can connect to it. Click the links above for setup guides direct from their respective documentation sites.

Remote Access

Okay so we have picked out hardware, we have put the device into production and allowed for remote access and either setup port forwarding or put RDP behind something like Tailscale or Cloudflare Tunnels, Now how do we connect to it? Well that depends on how you have published your machine, if you are using plain old port forwarding then you will need to setup something like DynDNS to autoupdate the dynamic IP the ISP Modem might have at any given time and then you just connect with the DynDNS URL which wont change. If you have setup one of the more secure method and are using Tailscale then you simply put the Tailscale IP into the RDP app on your laptop. I suggest creating an RDP shortcut and saving it to you desktop for easy connection.

To create a Remote Desktop Connection shortcut, follow these steps:

1. Type remote in the Taskbar search box.
2. Click on the individual search result.
3. Click the Show Options button.
4. enter the Tailscale IP/DynDNS URL/Cloudflare Tunnel Address in the Computer Field
4.1 Optionally set the username in the username field
5. Click the Save As button.
6. Choose a location (I.E. The Desktop) where you want to save the shortcut.
7. Enter a name and click the Save As button.

RDP Shortcut

Closing

This is not intended to be a deep dive full blown guide to cover all the setup scenarios thus why I linked directly to the documentaion guides, This like most of my content serves as a general guide or overview to get you started. As mentioned at the start of this post, I do offer Tech Services in which you can scdule time with by going to the Contact Page or clicking Schedule time with me

Posts in this Series