Beyond the firewall: a high-security remote access and RMM architecture only self-hosting makes possible

Self-hosting lets you keep your remote access and RMM server off the internet. Learn how to run SimpleHelp privately behind a restricted relay.

Published Last updated

A person logo
Antony Miguel
Cover: Beyond the firewall. Allowed networks reach a restricted relay VPS, which forwards traffic over an outbound WireGuard tunnel to a private SimpleHelp server behind a firewall or NAT.

A remote access and RMM server is a central part of how you look after your machines, so it deserves careful protection. Keeping it secure means looking after the machine it runs on as well as the software itself.

Most conversations about remote access security focus on the application: strong passwords, MFA, permissions and audit logs. Those all matter, and SimpleHelp provides them. But the last few months have been a good reminder that the application is only one layer. The operating system underneath it is a large and constantly changing attack surface too.

In this post we want to share an approach we think more of our customers should know about. It's one of the real advantages of hosting SimpleHelp yourself, and it's something a shared SaaS platform simply can't offer.

The Operating System Is Part of Your Attack Surface

Two recent examples show what we mean:

CVE-2026-98432 - A flaw in the Linux kernel's handling of IPv4 TCP connections that can be triggered remotely over the network, rated CVSS 9.8. Any internet-facing Linux machine accepting TCP connections was potentially exposed, whatever software it was running (NVD).

Alpine Linux OpenSSH bypass (CVE-2026-123158) - A password authentication bypass in OpenSSH on Linux systems built on musl libc without PAM, of which Alpine Linux is the best-known example, rated CVSS 8.1. On some account configurations, any sufficiently long password was accepted (Alpine advisory, NVD). SSH is how most servers are administered, and here it was the way in.

Neither is a flaw in remote access software. Both are flaws in the platforms that remote access software runs on. With AI tools now finding vulnerabilities in mature codebases like Linux faster than ever, it's sensible to plan for more of them.

The good news is that when you host your own server, you get to decide how it sits on the network, and that gives you some very effective options.

Why This Needs Self-Hosting

A large shared SaaS platform serves thousands of customers from the same infrastructure. It has to be reachable from everywhere, by everyone, all the time. Its operators choose the operating system, the network layout and where the security boundaries sit.

As a customer of that kind of platform, you can't restrict it to your own office networks, you can't keep it off the public internet, and you can't decide that its administrative side should only be reachable from your LAN. When you host SimpleHelp yourself, all of those decisions are yours.

Step One: Restrict Who Can Reach Your Server

The simplest and most effective step is to limit who can reach the server at all. With a self-hosted server you can do this in two places.

Inside SimpleHelp - Technician and administrator logins can be restricted to specific IP addresses or ranges, such as your office networks or company VPN. A stolen technician password is then of no use from anywhere else. The Administrator Guide covers how to set this up.

At the server's firewall - You can also restrict access at the firewall of the machine or VPS hosting SimpleHelp. This turns away unwanted traffic before it reaches the application, and protects everything else on the machine as well, including SSH.

One thing to bear in mind is that Remote Support users and Remote Access services connect to the same server, so if you restrict the SimpleHelp port at the firewall, every network they connect from needs to be allowed. For many MSPs with managed sites this works well. If you support members of the public on an ad-hoc basis it may not be practical, but you can still lock SSH and other administrative services down to your own networks.

This alone puts a self-hosted server in a much stronger position than one open to the whole internet. The machine running SimpleHelp is still the one receiving traffic from the internet, though, so an operating system flaw like the ones above would still land on the server holding your data.

Step Two: A Private Server Behind a Restricted Relay

For the highest level of security, you can separate the machine that receives internet traffic from the machine that runs SimpleHelp.

Diagram: allowed networks connect to a restricted relay VPS on the internet. A WireGuard tunnel, opened outbound by the private SimpleHelp server, carries that traffic through a firewall or NAT that blocks all inbound connections to the private server, which holds the data, credentials and keys.
A private SimpleHelp server behind a restricted relay

The relay is a small, otherwise empty VPS, restricted to known networks. It holds no SimpleHelp data, credentials or configuration, and it's the only machine with a public listening port.

The private SimpleHelp server runs on a machine with no inbound access from the internet at all. That could be a locked-down VM, a server in your office, or a machine only your administrators can reach.

The private server opens an outbound WireGuard tunnel to the relay. The relay forwards SimpleHelp's ports through the tunnel, and nothing else. WireGuard is a small, modern, well-reviewed encrypted tunnel that runs on Linux, Windows and macOS, so the private server can be whichever you already use.

What This Gives You

Because the private server accepts no connections from the internet, network-level bugs like CVE-2026-98432 and SSH flaws like Alpine's can only ever reach the relay.

If the relay were compromised, the attacker would have a machine with minimal access and no control. It holds no SimpleHelp data, and from it they could reach only SimpleHelp's ports, just like any other connection. They wouldn't have SimpleHelp's database, its keys, your technician credentials or the machine it runs on. To get any further they'd need to find a separate vulnerability in SimpleHelp itself, through SimpleHelp's own ports, while still facing SimpleHelp's own authentication and IP restrictions.

So rather than one barrier between the internet and your RMM server there are two, and losing the first costs you a disposable VPS rather than your infrastructure.

What It Doesn't Do

We think it's important to be clear about the limits too:

  • SimpleHelp itself still needs to be kept up to date, as traffic to it still travels through the tunnel.
  • A compromised relay could interrupt service, even though SimpleHelp's connections remain encrypted end to end.
  • Update and supply-chain issues aren't prevented. The private server still downloads updates and still needs patching.
  • Technician accounts still need protecting with MFA, permissions and IP restrictions, wherever your server is hosted.

Setting Up the Tunnel

The key points are:

  • The private server opens the tunnel - it connects out to the relay, so the relay never needs to know its address. Set PersistentKeepalive to around 25 seconds on the private server's side, so the tunnel stays open through NAT and firewalls even when it's idle.
  • The relay forwards only SimpleHelp's ports - TCP and UDP, to the private server's tunnel address.
  • The private server's firewall accepts only SimpleHelp's ports from the tunnel - and drops everything else, including any route onwards into the rest of your network. This matters: WireGuard gives the relay a network connection into the private server, so this firewall is what limits a compromised relay to SimpleHelp alone.
  • Lock down the relay - restrict SimpleHelp's ports to your allowed networks, and the relay's own administration to your administrators.
  • Keep the tunnel address outside your technician IP rules - a broad rule such as 10.0.0.0/8 would include it.
  • Keep the tunnel running automatically - and never fall back to exposing the private server directly if it drops.
  • Point SimpleHelp at the relay - set the public server address to the relay's hostname so Remote Access services and Remote Support users connect through it.

You can also choose whether SimpleHelp sees each connection's real IP address. If the relay forwards connections without rewriting their source, and the private server sends its replies back through the tunnel, SimpleHelp sees and applies its IP rules to each connection individually. This is straightforward on Linux. The simpler option, and the easier one on Windows, is to let the relay rewrite the source, so all relayed connections appear to come from the relay's tunnel address. Your network restrictions then live in the relay's firewall.

The private network needs to allow outbound UDP for WireGuard, which some very strict networks block.

The exact commands depend on your operating system and setup. AI assistants such as Claude or ChatGPT are very good at walking you through this - just give them the points above.

Check It's Working

Once the tunnel is running, connect through the relay and open the Access tab in SimpleHelp. The connection should show either the connecting machine's real address or the relay's tunnel address, for example 10.98.0.1.

If it shows a 127.x address such as 127.0.0.1, something on the private server is forwarding connections to SimpleHelp locally instead of letting them arrive through the tunnel. Connections from 127.0.0.1 are treated as local and bypass your IP restrictions. Please address this before going any further.

Then check that a technician login through the relay is rejected, that one from your admin network succeeds, and that from the relay you can't reach anything on the private server other than SimpleHelp.

Technician Access

With the private server on your own network, you can restrict technician and administrator logins to your local admin network only. SimpleHelp will then turn away technician logins arriving through the relay, which carries only Remote Support and Remote Access service traffic. Someone who controlled the relay couldn't even attempt a technician login. If your technicians work remotely, they can connect to your network over a VPN first.

What About Performance?

We tested WireGuard, an SSH tunnel and a direct connection side by side between Ubuntu 24.04 machines. These tests used a simulated network rather than a live SimpleHelp server, so treat the figures as a guide rather than a guarantee.

On a simulated 200 Mbit/s link with 20 ms of delay each way, WireGuard carried around 165 Mbit/s, close to the direct connection, and handled 500 simultaneous connections without a single failure. Most importantly, sessions stayed independent of each other. With a large file transfer filling the link, interactive sessions through WireGuard stayed at around 85-90 ms, even with packet loss added - no slower than with no transfer running. WireGuard carries UDP as well as TCP, so Remote Access services can still connect over UDP.

What About SSH?

You can build the same setup with an SSH reverse port forward, and it does work. It has one real advantage: by design, a compromised relay can only reach the single forwarded port. But it doesn't perform well under heavy load. Every session shares one connection through the tunnel, so a large transfer holds everything else up. In our tests a single SSH tunnel topped out at around 50 Mbit/s, interactive sessions lagged by around a third of a second (and up to a second) while a transfer was running, and with just 0.1% packet loss they stalled for several seconds at a time. SSH tunnels also carry only TCP.

If you do use SSH, the tunnel must deliver connections to an address used only by the tunnel, such as a dummy interface on Linux. Never point it at 127.0.0.1 or localhost, as SimpleHelp trusts local connections and that would let anyone who can reach the relay get around your IP restrictions.

For anything beyond light use, we recommend WireGuard.

What's Next

Most deployments won't need to go this far, and restricting access by IP is a great first step on its own. But it shows what self-hosting really gives you: the freedom and control to run your remote access server on your own terms - where it lives, who can reach it and how it's protected. No shared SaaS platform can offer that, and if you look after sensitive environments, it means you choose where your security boundaries sit, and the next operating system vulnerability on an internet-facing machine threatens only your disposable relay rather than your remote access server.

If you try this setup, or have questions about securing your deployment, please let us know - we'd love to hear how you get on.

Thanks for reading!

-- Antony (Co-Founder, SimpleHelp Ltd)

SimpleHelp is a unified remote support and RMM platform, designed and built as one application since 2007. Now with AI-powered fleet management through Cyana. Learn more at simple-help.com.