this post was submitted on 24 Apr 2024
16 points (90.0% liked)

Selfhosted

39370 readers
109 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 1 year ago
MODERATORS
 

Hi folks, I'm trying to put my newly acquired HDDs to good use and at the same time manage the minuscule amount of storage my vps has. Since it is hosting several fedi services, I need some external storage and I figured I'd just tunnel some object storage from home.

So I set up a working wireguard connection from my homenetwork to the vps, connected the object storage (GarageHQ) to one end and probably will connect the fedi services (lemmy, mastodon, matrix, peertube) to the other.

Here comes the issue: do I have to make the respective wireguard instances a proxy for the services to be able to speak with each other or do I even have to make a site to site connection to connect the two docker networks?

The connection would look something like this: GarageHQ---WireguardHS---WireguardVPS---Mastodon|Mastodon---NginxPM---OpenWeb

Anyone got something like this to work so far? Am I overlooking something major?

Thanks for reading, have a good one.

all 2 comments
sorted by: hot top controversial new old
[–] haui_lemmy@lemmy.giftedmc.com 3 points 5 months ago (1 children)

Since nobody seems to have a solution handy I should share what I learned thus far:

This setup is essentially like the *arr suite and therefore I can use a similar configuration. The docker container of the object storage should be able to use the vpn container as a network device.

I‘m not totally sure how to do it on the other side since the n-containers have two network connections each, vpn and outside world, not to be mixed, for security reasons. Its probably not even a big deal but now its nearly done.

Its not implemented yet so its all theoretical. I might update once its done.