#linux

Owl Eyes Hoo@d1@autistics.life

Dear fellow or potential fellow gotosocial instance admins,
I've come up with a novel way to set up a #gotosocial server behind a reverse proxy, which avoids the use of making new firewalling rules - both on a VPS, and creating port forwarding on one's home router. This method is ideal for minimizing the cost of running one's own #ActivityPub/#Mastodon server, in a way that leverages inexpensive fast storage on the backend (say, on a #RaspberryPi 5, 2GB of RAM, with an NVMe). As many valiant and praiseworthy Mastodon server admins might attest to, renting cloud VPS' can cost a lot, especially when storing many tens or hundreds of GB of user data.

My method avoids the need of forwarding ports 443 and 80 into one's home LAN, using DNAT (on the VPS) and port forwarding (on one's home router). In a nutshell, it's a novel use of #Wireguard, in conjunction with #nginx on the frontend, and gotosocial on the backend. This can save the cost of renting a dedicated VPS, to get the exclusive use of ports 443 and 80, in conjunction with static IPv4 and IPv6 addresses. My method optimizes on reliability and cheapness, but it's not the most secure - decryption and re-encryption happens on the VPS, before the data travels down the Wireguard tunnel. This exposes the data to any underlying hypervisor at one's hosting company. So full disclosure there.

I've run my method by the helpful gotosocial furries in their #Matrix Help chatroom (and I'm grateful for their help to debug subtle warts the method had), and got their blessing, at least to the technical soundness of the method.

I have a testing instance of gotosocial 0.21.0 set up with this new method: g.toque.im

I'm the user @owl on that instance, should you wish to befriend me there.

I'll make a longer blog post on this in the days to come, and post it in a reply to this post. (I also cross-posted this on another account of mine, please forgive the duplicate: @gtsadmin )

#DevOps #Linux #infosec #SelfHosting #DataSovereignty #OpenSource

2 8 8
argv[-1]@argv_minus_one@mastodon.sdf.org

#Mastodon tip: There is a way to use only part of a word as a hashtag!

For example, you might want to say the word “toots”, but use the hashtag “toot”.

To do this, place a U+2060 WORD JOINER before the “s” in “toots”. Example: #toot⁠s.

If you're using #X11 or #Wayland (i.e. #Linux or #BSD desktop), you can add the following line to ~/.XCompose to give yourself a keyboard shortcut:

<Multi_key> <w> <j> : "⁠" U2060 # WORD JOINER

Then just type Compose, then W, then J.

Alex(ithymia) [lore expansion arc]@alex@pawb.fun

#Introduction that I'm never happy with (really, you don't know how many times I've edited this):

I joined Mastodon during the Second Great Twitter Migration of 2022, if that's what we're calling it. #fedi22

I'm a neurodivergent (AuDHD / DCD / a few other things), agender/autigender, aroace (that's enough labels for today), 50s year old from #Ottawa, #Canada. 🇨🇦

Interests include: #scifi (including #StarTrek & #DoctorWho), #Linux, #history, #genealogy, #politics, #travel (when I can afford to), let's just say way too many special interests.

(Apparently my current project is human rights advocacy, followed by a corporate governance side quest. No one warned me either of these would be in the manual, but okay..)

Fedi history: I've been around since October 2022 across six past instances.

⚠️ Note: Please DO NOT REPLY TO THIS POST. (Feel free to say hello via a mention or a DM instead, though!). In case of a misunderstanding, please talk to me first before jumping to conclusions.