Last time I tried it was a little annoying with dynamic IPs getting in the way, but possible with just a port forward or UPnP. Are ISPs making changes to prevent this?
Last time I tried it was a little annoying with dynamic IPs getting in the way, but possible with just a port forward or UPnP. Are ISPs making changes to prevent this?
The lack of IPv4 address space has started a trend of CGNAT which makes hosting from home nearly impossible. Luckily, IPv6 continues to be rolled out, but in many situations thst would lead to your services only being reachable through IPv6. There are still a great many outdated networks out there that can't reach IPv6, so you might run into trouble there.
If you can get a public IPv4 IP address, I see no reason why you'd run into issues. That's more of an ISP problem than a hosting problem, in my opinion.
It's a solution, but it's hardly the home server project you could (and should be able to) run from your home internet.
It's not a bad option if you're already paying for gigabit, sadly nearly impossible to get symmetrical gigabit here, but still for an extra $5 or $10 a month it's ok.
Luckily, you don't need a static IP address in most use cases if you set up dyndns, as long as the IP is exclusively used by you and doesn't change too often (e.g. every week or month or so).
Why would it be better? It would be more complex technically, and certainly less resource efficient. Am i missing something?
You'd also save costs moving some of the hosting to the cloud while you're at it, be use you don't don't need to pay a separate electricity bill for a cloud VPS. Plus, VPS storage is usually more reliable than a custom RAID config, as is the power grid around data centers and the internet connection itself.
If you're going for efficency or simplicity then you're totally right, but if you're trying to get value for money I think a cheap VPS would be better.
If your IP is not dynamic, and you can configure the reverse DNS, there's not going to be problems :)
Except with Gmail and Outlook of course, but well these are the problems, not us.
Some business IP blocks aren't blocked, though, so in rare cases you might get away with running a mail server from a business internet subscription.
I can confirm this. I recently tried to set up being able to send emails from an smtp server in my homelab to my gmail address. Even with all the good stuff - a domain, tls, spf, dkim, dmarc, gmail just straight up refuses to receive mail from residential IPs. I ended up proxying it through my VPS, which works better but still requires me setting up gmail rules to NEVER send messages from my special domain to spam. Which it would otherwise do for no apparent reason sometimes.
Of course, the real solution to the problem is to find a decent ISP, like a non-profit from FFDN.org federation. Then you have "real" internet and no worries for selfhosting.
A public web server is the easy part if you want to do letsencrypt.
But you might run a device that already comes with software, and letsencrypt support is either limited (example: Synology; their implementation allows only http-01 challenge so if you need dns-01, tough luck. Even wildcards are a new feature) or non-existent (example: Ubiquiti, and their cloud keys (administration UI, guest portal) or routers (Radius/WPA Enterprise needs TLS cert too)).
* https://github.com/acmesh-official/acme.sh/wiki/Synology-NAS...
* https://lippertmarkus.com/2020/03/14/synology-le-dns-auto-re...
* http://www.thedreaming.org/2020/11/18/synology-lets-encrypt/
It's possible as long as your ACME client has hook scripts, and your DNS provider has an API:
Letsencrypt is almost certainly the easiest part of the entire process of self-hosting a website.
My Asus router has a checkbox for dynamic DNS and for getting Let's Encrypt certs. See Method 2: