this post was submitted on 18 Aug 2023
48 points (94.4% liked)

Selfhosted

37811 readers
507 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
 

The more I am selfhosting the more ports I do open to my reverse proxy.

I also have a VPN (wireguard) but there are also 3 family members that want to access some services.

Open ports are much easier to handle for them.

How many users do you have and how many ports are open?

My case: 4 users (family)/ 8 reversed proxy ports

How many users and open ports have you?

you are viewing a single comment's thread
view the rest of the comments
[–] hi_its_me@lemmy.world 1 points 10 months ago (3 children)

Out of curiosity, how do you accomplish that?

[–] Caboose20@lemmy.ca 3 points 10 months ago

I know cloudflare has a free tier and allows you to put rules like this in place. AFAIK you'd have to use them as DNS at least in order to use this feature. I use Cloudflare tunnels and access to facilitate remote access to my home-server, and I know I have this same rule in place.

[–] Engywuck@lemm.ee 2 points 10 months ago* (last edited 10 months ago)

Cloudflare DNS basically, but it can be implemented at nginx level using geoip2 modules (I do both, because some of my services don't play well with Cloudflare proxied DNS). The cumbersome part is keeping geoip database up to date but I'm sure there are plenty of tutorials online.

[–] Wtfrud@lemmy.world 1 points 10 months ago

I’m using an nginx reverse proxy with maxminddb for geo filtering. I have it limited to my state instead of country. If I could reliably go more specific I would. I really only rely on external access to the reverse proxy for family. I could use a vpn myself but I’m not bothering with the inevitable and endless questions from family.

I don’t know if it’s realistic or not but I would love to use a client certificate to authenticate with the reverse proxy but I’m not sure of the compatibility with mobile devices or smart TVs. If it would work even a self signed cert that’s valid for years would be a nice layer.