13
Hide Lemmy UI behind VPN? (lemmy.ronsmans.eu)
submitted 1 year ago* (last edited 1 year ago) by AES@lemmy.ronsmans.eu to c/selfhosted@lemmy.world

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
[-] Max_P@lemmy.max-p.me 18 points 1 year ago

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.

[-] AES@lemmy.ronsmans.eu 1 points 1 year ago

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

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

Selfhosted

40246 readers
584 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