Connect via a double NAT setup for remote access to your Raspberry Pi.
Connect via a double NAT setup for remote access to your Raspberry Pi.
Hi everyone, Noob question here. I have a raspberry pi 3 that I'm using as a security monitor in my home. I have switched to a fiber optic ISP and quickly realized that I am no longer able to access MotionEye from outside my LAN. I was told that it is because they use a double NAT, I had to look up exactly what this means and the way I understand it is it being a router behind a router. It was also explained to me that I would need to request a static IP address, which costs $10 more a month. Is there anyway around this so I can access my camera outside of my network? Thanks!
Varies by provider; some ISPs now place customers in routers that block port forwarding, making it nearly impossible to host servers from there.
Apologize for my lack of knowledge about networking. You have just one router at home, and the fiber modem—its exact name is unclear. It seems the second router is likely managed by your ISP. I’ve attempted to forward ports on your own router without success.
Kilrah mentioned that if your ISP has blocked you from accessing the router you're using, you're in a tough spot. You might want to request them to forward ports or try Bridged Mode to see what happens. It's important to check these options with a new ISP before committing to installation or upgrades.
It's not a major issue since I've configured the RPi to capture any movement. I'll reach out to check if bridging is available or if the static IP charge can be waived. I'm not trying to sound overly clever, but I haven't encountered 'double NAT' before and didn't realize it would matter until recently. While talking to a CSR, I mentioned needing access to a NAS outside my network, and they reassured me it wouldn't be an issue.
I don't grasp why they offered that choice when you can't port forward, but sure, check out the link. Fair enough, though most folks don't need to port forward, which is why a double NAT isn't a big issue for them. Even so, if you are, you generally have the ability to remove it yourself, though not here. Just a heads-up for the future: this ISP also tries to steer clear of LTE providers. Those tend to keep you behind NAT64-CGN. If you believe port forwarding isn't possible right now, just assume it won't work on those connections.
They likely chose a commercial NAS, most of which include a cloud relay feature so you can use them without needing port forwarding.
I’m not sure about the exact setup—whether NAT64-CGN is used or what it stands for. I’m checking out Metronet, a fiber optic ISP, and previously had Spectrum (Time Warner). Their service wasn’t great. Thanks for your assistance!