this post was submitted on 24 Feb 2025
15 points (100.0% liked)

Selfhosted

42858 readers
2177 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 a few things that I host from my house. I have read that it's better practice to route stuff through a VPS to not expose your home IP.

Here's what I've done so far: VPN setup on VPS with successful routing of containers. Confirmed by using a CLI IP check within the container which returned the VPS IP. I used PiVPN because I know it and it's easy to set up.

Where I got stuck: I pointed Nginx to the supposed IP:port of the connection, but couldn't get it to load.

What should I do next?

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

The VPN is hosted on the VPS, which I rent and have full control of. It's my own VPN between my devices.

The intent is to put my VPS between my services and the outside world so that it doesn't expose my home IP.

[–] just_another_person -3 points 11 hours ago* (last edited 11 hours ago) (1 children)

Okay...back up a bit.

You have a VPS server hosted somewhere...so which IP are you trying to obfuscate with a VPN?

Why don't you just host your public services on the VPS, and whatever else private on your home equipment.

[–] [email protected] 2 points 11 hours ago

which IP are you trying to obfuscate with a VPN?

My goal was to hide my home IP by routing everything through the VPS. The VPN is hosted on the VPS.

Why don't you just host your public services on the VPS, and whatever else private on your home equipment.

The VPS is 1 core and 35 GB of storage. I host several websites and some game serves on my home server.