Forum Discussion

harshak777's avatar
harshak777
New Contributor
6 months ago
Solved

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. T...
  • ExtraChrispy's avatar
    6 months ago

    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