this post was submitted on 05 Jul 2023
123 points (97.7% liked)
Asklemmy
43394 readers
1903 users here now
A loosely moderated place to ask open-ended questions
Search asklemmy ๐
If your post meets the following criteria, it's welcome here!
- Open-ended question
- Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
- Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
- Not ad nauseam inducing: please make sure it is a question that would be new to most members
- An actual topic of discussion
Looking for support?
Looking for a community?
- Lemmyverse: community search
- sub.rehab: maps old subreddits to fediverse options, marks official as such
- !lemmy411@lemmy.ca: a community for finding communities
~Icon~ ~by~ ~@Double_A@discuss.tchncs.de~
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
I don't have a guide for you, sorry. I've looked into it briefly but I can't say I care enough to fix it.
I'm pretty sure you'll be able to go federation only by blocking everything that's not an application/ld+jsoncontent type (technically application/ld+json; profile="https://www.w3.org/ns/activitystreams" but some servers don't send the correct Accept headers). The Lemmy frontend submits plain JSON and POST requests and it doesn't implement the client-server ActivityPub API, so that should be the easiest way to keep federation working while whitelisting your personal IP addresses.