An absolute mammoth post about how I am running this blog site from a Google Pixel 5 Android phone using only Termux. It includes what inspired me, what I'm using for the setup, and my longform notes on the entire project.
Because CGNAT means that their router does not have a public IP - just like your router has a single IP that is shared between your devices (using NAT), their ISP shares an IP between multiple customers (also using NAT, it’s just called carrier-grade NAT to differentiate who is doing it).
The ISP gives their modem/router an internal IP and routes traffic through their datacenter to them and other customers via one shared public address. Also IPv6 is not always an option, I had to activate it on my ISP’s website but it was useless in the end because I can’t get an IPv6 address on my phone
Yeah, phones are quite capable now. I ran a MC server just for me and some friends and it seemed fine.
I tried another server with mods and it exploded. Mine is quite small: 3GB RAM, so not much for a modded server.
I would host a lot of shit on my phone werent it for my ISP which only provides IPv4 and also puts me behind CG-NAT.
Ipv4 is fine for hosting, just use a dyndns provider to send your current ipv4 to and it should work.
Not with CGNAT
His Router should have a publicly reachable IP, otherwise he wouldn’t receive packages, right? Why would CGNAT keep him from using that?
It is shared between many different devices.
It is typical something like double or triple NAT
Because CGNAT means that their router does not have a public IP - just like your router has a single IP that is shared between your devices (using NAT), their ISP shares an IP between multiple customers (also using NAT, it’s just called carrier-grade NAT to differentiate who is doing it).
So their “public facing IP” is an internal one? Even the v6 one?
The ISP gives their modem/router an internal IP and routes traffic through their datacenter to them and other customers via one shared public address. Also IPv6 is not always an option, I had to activate it on my ISP’s website but it was useless in the end because I can’t get an IPv6 address on my phone