106
you are viewing a single comment's thread
view the rest of the comments
[-] Bdaman@sh.itjust.works 55 points 2 years ago

The only externally accessible service is my wireguard vpn. For anything else, if you are not on my lan or VPN back into my lan, it’s not accessible.

[-] AtariDump@lemmy.world 9 points 2 years ago
[-] sunbeam60@lemmy.one 8 points 2 years ago

Funnily enough it’s exactly the opposite way of where the corporate world is going, where the LAN is no longer seen as a fortress and most services are available publically but behind 2FA.

[-] AtariDump@lemmy.world 9 points 2 years ago* (last edited 2 years ago)

Corporate world, I still have to VPN in before much is accessible. Then there’s also 2FA.

Homelab, ehhh. Much smaller user base and within smackable reach.

[-] sunbeam60@lemmy.one 1 points 2 years ago

Oh right. The last three business I’ve worked in have all been fully public services; assume the intruder is already in the LAN, so don’t treat it like a barrier.

[-] SecretSauces@lemmy.world 2 points 2 years ago

Can I ask your setup? I'd like to get this for myself as well.

[-] flawedFraction@lemmy.world 3 points 2 years ago

Try pivpn. It is meant to run on a raspberry pi, but it should work on most Ubuntu and Debian based distributions.

[-] jaykay@lemmy.zip 3 points 2 years ago

Not OP but… I have an old PC as a server, Wireguard in docker container, port-forward in the router and that’s it

[-] RedNight@lemmy.ml 1 points 2 years ago

Which image? I've seen a few wireguard options on docker hub

[-] jaykay@lemmy.zip 3 points 2 years ago
[-] Bdaman@sh.itjust.works 1 points 2 years ago

Sorry, haven't logged on in a bit. I use OPNSense on an old PC for my firewall with the wireguard packet installed.

Then use the wireguard client on my familys phones/laptops that is set to auto connect when NOT on my home wifi. That way media payback, adguard-home dns and everything acts as seamless as possible even when away while still keeping all ports blocked.

[-] JDubbleu@programming.dev 1 points 2 years ago

Not OP, but I just use ZeroTier for this since it's dead simple to setup and free. I'm sure there's some 100% self-hosted solutions, but it's worked for me without issue.

this post was submitted on 26 Feb 2024
106 points (96.5% liked)

Selfhosted

62708 readers
436 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS