💾 Archived View for ew.srht.site › en › 2022 › 20220319-re-self-hosting.gmi captured on 2023-11-14 at 07:59:28. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
Following ew0k
gemini://warmedal.se/~bjorn/posts/2022-03-18-re-what-do-you-self-host-.gmi
responding to JDJs post "What do you self host?"
gemini://jdj.golf/gemlog/what-do-you-self-host.gmi
Server sounds like a big word for a small single board computer, more specifically a APU2 board by pcengines.ch[a]. This board features 3 ethernet interfaces and therefore is used as a gateway, directing all outbound traffic towards the internet connection (Fritz!Box), while providing a number of services to the home network. Regular backup is done using borgbackup to a different system.
Anything needed to make systems on the home network talk to each other or the internet is provided on the internal interface:
This system is not known via dyndns.org or similar, neither is the Fritz!Box. So inbound connections are not permitted. But how to make "home" accessible from abroad? Well, first of all, this use case is not important for me, but I thought it would be nice in case of urgency. So I set up a few .onion services via TOR. Publicly accessible is only the .onion service, which serves a copy of my gemini capsule.
There is also an "Authenticated Onion Service"[b] in order to connect to the system from the outside. A connection can only be established, if the requester can provide an additional piece of information[c].
Cheers,
~ew
---
[b] Onion Service Authentication
[c] see "CLIENT AUTHORIZATION" in the torrc man page