Skip to main content

How to Remotely Connect

When it comes to connecting to your services while away from home, there are two common methods to approach this: through connecting to a self-hosted Virtual Private Network or broadcasting your services to the World Wide Web.  These techniques can be used individually or combined to create a tailored experience.

Virtual Private Network 

Just like a corporation or university, you can self-host a Virtual Private Network server from home.  This enables anyone with the proper credentials to securely connect individual devices to your Local Area Network.  This way, your services can be available to you, friends and family – even while away from your home – without making them accessible to the public internet.

This is clearly not the ideal for hosting a WordPress blog or Flarum forum intended for an online audience.  VPN access can be the perfect balance of security and convenience for a small or exclusive audience – such as Bookstack for a tabletop roleplaying campaign.  Some services may require using a web domain to properly function, but access can still be restricted to access from your LAN.

For accessing services that handle private personal information such as Actual Budget or Paperless-ngx, this is the most secure option.  By requiring authorization to remotely access your Network, you can greatly decrease your attack surface – or the amount of publically-accessible software that may contain software vulnerabilities that can be leveraged by malicious actors. 

These type of software vulnerabilities are commonly called zero-day exploits because they are either unknown or unfixed.

While open-source software can improve security by putting more eyes on potential vulnerabilities, it does not mean there will not be breaches.  Software projects are written by developers with varying priorities, including security and privacy.  You do not need to be as concerned about the security of individual software programs when everything is protected behind a singular VPN program.

Comparison

Security

Security

starsstarsstars

By requiring authentication before even  connecting to any services, you can greatly decrease your overall attack surface.

 

Shield_with_heart

Convenience

starscirclecircle

This will need to be configured on a device-by-device basis.  Once the service has been setup, you just need to make sure you stay connected.

 

Web Domain Name

Self-hosting a web domain involves connecting your server to the World Wide Web.  We accomplish this by linking the Public IP address assigned by your ISP to a domain name you control.  This adds your public IP address to the Domain Name System registry that helps web servers locate each other.

Web domains – such as example.com – are hierarchical with deeper levels appended to the front.  The URL above contains a top-level domain ("com") and a second-level domain ("example"), joined by a period.  When you own a domain name, you can create additional sub-domains – like app.example.com.

Broadcasting your server on the World Wide Web makes it extremely simple to access your services from anywhere in the world using only a web browser.  This is equally true for every person in the world who has access to the World Wide Web.  At the end of the day, we are opening our server to the whims of the open internet – and any potential malicious actors.

We will take proactive steps to harden security, preempt vulnerabilities and limit fallout. SWAG makes it simple to setup secure encryption for our web domain.  Authelia is a single sign-on service that can decrease your attack surface by protecting your individual services with the same trusted authentication system.  Fail2Ban and CrowdSec are open-source solutions for automatically identifying and intercepting malicious actors. 

Comparison

Security

Security

starscirclecircle

While you can take proactive steps to protect your data, it is still connected to the open internet.

 

Shield_with_heart

Convenience

starsstarsstars

Once setup, you can access your services anywhere in the world with just a web browser.

 

Combination

You can tailor your Web server as needed to find your preferred balance between security and convenience.  We can leverage the convenience and memorability of web domain names while still retaining the security of a Virtual Private Network.  This enables websites to be easily accessible while still denying access to anyone outside of our Local Area Network. 

We can provide access to Cockpit at cockpit.example.com, but deny access to anyone attempting to access it from outside your Wi-Fi or Ethernet network.  At the same time, we can provide public access to a personal WordPress blog.  When combined with a VPN, you can still provide secure remote access to private data and services.  

diagram showing inside and outside access to a local restricted address.

Comparison

Security

Security

starsstarscircle

By requiring local access for critical services and leveraging single sign-on, you can have the best of both worlds.

 

Shield_with_heart

Convenience

starsstarscircle

Your Web server will always be accessible through a browser, with device-by-device setup required for accessing critical services.