💾 Archived View for bbs.geminispace.org › u › clseibold › 11301 captured on 2023-11-14 at 10:13:18. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2023-11-04)
-=-=-=-=-=-=-
Re: "Pi over WiFi as a server?"
@Nono Ah, right. Yeah, it doesn't matter if it's on Wifi or ethernet (physical cable), you would still have to change settings on the router, actually. Basically, routers have a security feature that's like a firewall - they prevent connections to a specific port on a computer on the network unless you specifically tell it to allow this. That's what "port forwarding" is - you're forwarding a port on your computer to allow people from outside your network to access your computer via that port. Every server that's behind a router has to do this no matter what, because router's by default have this security feature.
Oct 29 · 2 weeks ago
@clseibold: Makes sense! But this means I'll have to wait for when I'm able to get my own connections and gear going...
Maybe this is for the best, as it gives me a bit more time to think, and polish the "editorial" aspect of a potential capsule...
Thanks again!
My capsule is hosted on a Pico W, connected to the wall with an old phone charger and to my router over 2.4 Ghz WiFi. I gave the Pico W a reserved IP address and forwarded port 1965 to it. Then, I made my capsule's domain an alias of a subdomain of duckdns.org, and made the Pico W update the subdomain IP address once it's online.
Hi @dimkr: Thanks! But does this mean I can skip the "messing with my neighnour's router" part? I f so, I'll give it a try...
Sorry if this question is trivial, but as I said I'm very new to all of this...
🚀 clseibold · Oct 30 at 14:53:
@Nono The port forwarding that @dimkr mentions has to be done on the router (technically there's UPnP that can do it, but that is usually disabled). It's the same with the reserved IP Address setting.
Changing the router settings is necessary because your router is what stands between your computer and the internet. So the router needs to know where to send connections from the internet. That's the other purpose of port forwarding: 1. Knowing where connections go, and 2. Security - only opening ports when the user needs them.
The reserved IP address is basically just a setting that makes sure your computer is the same IP address on the local network, so that it doesn't change over time.
@clseibold: OK thanks! I'll wait and do it in the most classical fashion eventuallly then.
Pi over WiFi as a server? — Hi! I'm not super tech savvy, yet I'd like to try self-hosting my own Gemini capsule on my own Respberry Pi Zero 2 W in the near future... But both of my internet connections are wireless. My home doesn't have a land line, so I only have my mobile phone service with limited data, and the WiFi connection that my neighbour kindly shares with me... We also share meals and he stores his work stuff in my garage. So no, I'm not stealing his internet, hehe... My question...