Unable to access self hosted server via public IP
I have a Raspberry Pi at home that I often use for development purposes. And I am able to access(SSHd running on a custom port) this device when I am on my home network (LAN) using its private IP.
The custom port where my device's SSHd runs is port-forwarded using the Cox Panoramic WiFi app.
Until a few days ago, I was able to access my device using the router's public IP via custom port.
Currently, I am still able to access the device using the public IP when I am outside the LAN. But I am not able to access using the public IP when I am on my home network (LAN). Does anyone have any solutions?
Short answer, you need to be using the internal IP for access while on the internal LAN and the public IP when outside of the LAN. This is how most consumer routers work. NAT reflection tends to be more of a commercial router feature:
https://docs.netgate.com/pfsense/en/latest/nat/reflection.html