this post was submitted on 30 Nov 2023
1 points (66.7% liked)

Home Networking

198 readers
1 users here now

A community to help people learn, install, set up or troubleshoot their home network equipment and solutions.

Rules

founded 1 year ago
MODERATORS
 

After learning about CG-NAT and DHCP, in hindsight I'm wondering why it worked. I got a few ideas why but could someone explain?

Was it because it was all within LAN, and not remotely from outside LAN? So anything within LAN will work even under CG-NAT?

Was it because it was just the PC and the router, and doing something like sshing into PC from phone would've not worked? I.e, device-to-device wouldn't work but device-to-router does?

Was it because I have both ipv4 and ipv6 (according to wifi settings on my phone), and ipv6 isn't affected by CG-NAT?

I can't remember exactly what the issue DHCP brings for port forwarding, remote access, ssh, etc. is but I feel like there was something and the solution was static IP or DDNS. Might've been a selfhosting thing? idk

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 11 months ago

CGNAT affects accessing your LAN from outside your network, i.e. over the Internet. Traffic within your own LAN is not affected whatsoever.