this post was submitted on 03 Jul 2023
12 points (100.0% liked)

Selfhosted

39159 readers
379 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
12
Hide Lemmy UI behind VPN? (lemmy.ronsmans.eu)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

I have set up a small Lemmy instance (Docker + NPM) for testing purposes, and I was wondering if it is possible to only expose the activitypub to the internet and hide the Lemmy UI behind my personal wireguard VPN. So the UI is only accessible on the local LAN.

top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 19 points 1 year ago (1 children)

The UI is not involved at all with the federation aspect, so you could just expose the backend and not the frontend.

That won't stop anyone from using your instance however, the UI is just the UI, all the API calls go to the lemmy backend regardless. It'll still be completely useable through say, mobile apps which only care about the backend.

Technically you could only allow the webfinger and inbox endpoints available to the wide internet, but I suspect that'll be a bit fragile.

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

Thanks for the info. I knew about the inbox endpoint but the webfinger is new to me.