I'm trying to avoid connections to from the LAN hairpin-ing to the Public IP and then back into my network.
What's the "right way" to connect to services on the WAN interface when the ISP is assigning a 100.64.0.0/10 / CGNAT to my openwrt router? The CGNAT address is 1:1 mapped onto a public IP somewhere in the ISPs network. DDNS is set for the public IP.
For example accessing my local Plex server (plex only knows my public IP) means traffic goes out to the ISP and them back into my home network.
One recommendation was to also map the DDNS/Public IP to an interface on the router. So my questions is really what's the right way to reference services on my router without the traffic going out to the ISP and back again?
@lleachii with all due respect, I'm using the ISP for a few years and can access services from outside. The question isn't whether they run CGNAT or not or how it's mapped (fyi it's 1:1).
The issue was about hairpinning/NAT loopback. As I mentioned in the post, this is solved using the uci set firewall.@redirect[-1].reflection=1 config option which is a really elegant solution to broken ISPs.