this post was submitted on 18 Jun 2023
50 points (98.1% liked)

Selfhosted

40399 readers
767 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I have Plex, Radarr, Sonarr, Overseerr etc running in Docker containers, but have never found a good guide on how to access these (safely) from outside. I resort to connecting to a server running VNC. I've tried nginx but didn't understand it, also tried Cloudflare (ditto). Is there a good, easy to understand guide on how to do this?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 20 points 1 year ago (3 children)

The best way is to have a small server with wireguard installed, which is a VPN. This runs on virtually anything, including a raspberry pi or even a router with open-wrt.

Anyways, your wireguard server will only accept connections from devices that have its certificate (secure passwordless authentication).

Once you're connected to that VPN, it's effectively as being in your home network.

You might want to Google for guides on how to setup wireguard on a raspberry pi. Even if you don't have a PI you'll surely find the tutorial you need.

[–] AbidanYre 5 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

PiVPN is great. Works on just as well on a standard server with Ubuntu.

[–] Andrew71 1 points 1 year ago

Yep, using PiVPN on an Ubuntu server too, works like a charm :D

[–] [email protected] 1 points 1 year ago

Huh, great idea about client certs! I think I’ll implement mine that way!

[–] GrimSleeper 1 points 1 year ago

I've seen more and more ISPs switching to carrier-grade NAT. That makes it really difficult to reach your VPN from anywhere on the internet.

If you don't have that problem, then yes, a small Wireguard instance on a Raspberry Pi works beautifully