Comment on It will be great, they said...
ysjet@lemmy.world 1 week agoSo this sort of a setup is called Dual-WAN, and yes, it allows it all to work. Basically, my router has two connections to the internet- a cable modem on one port, which connects to Spectrum, and a cell modem on another port, which has my sim card on it. Both provide internet access simultaneously. My router is then configured to reach the internet via what it decides is the ‘best’ internet. In my case, because my cell connection is metered, I have it configured so that it prefers the spectrum connection, and only falls back to the cell connection if the spectrum connection is losing traffic, and only for as long as that connection is losing traffic. Note that a dedicated cell modem is not necessarily required- some routers have sim card slots themselves, for exactly this reason, and tend to make this sort of configuration very simple to do. I’m personally using a small computer running OPNSense, which is again, probably overkill for the average homelabber, but you don’t need something that complicated.
As a result, my server always has access to the internet, and should you configure your firewalls appropriately, the internet will then always have access to your server. There’s some details here and there about IP address caching, dns resolution, and the like which have various solutions from DDNS to an external proxy/loadbalancer/etc, but those are more implementation details.
dogs0n@sh.itjust.works 1 week ago
Oh okay, so it doesn’t work then is what I’m gathering (for email).
ysjet@lemmy.world 1 week ago
That is, in fact, exactly the opposite of what I just said.
dogs0n@sh.itjust.works 1 week ago
For mail this won’t work.
For one, you have to now think about dynamic dns because you have your one static ip and then whatever ip your data backup will rollover onto. This isn’t ideal. Probably going to ruin any trust your domain will have.
Second, there is no way you’re getting a reverse PTR record setup to work in this config.
So, no, it’s not gonna work.
It may work fine if you have random services, but tbh I don’t ever want to use or deal with a ddns service myself.
ysjet@lemmy.world 1 week ago
You do realize your DNS MX records can point to both IPs, and your primary connection just has a higher priority number, right? This is 2025, dns is outright expected to have multiple IPs behind in varying levels of priority and availability.
As for DDNS constantly rolling things, I’ve got, as I said, spectrum residential and my IP address has changed once in half a decade.
Finally, I literally mentioned that there were other ways around this, like an external proxy server on a static IP. Throw it on DO or something.