I have a Hitron router that was provided by my ISP, and I have it configured to forward ports to devices on my LAN. I used to be able to access machines on the LAN from machines on the LAN by way of WAN IP of the router. For example
curl https://$(curl icanhazip.com)
would, in fact, make an HTTPS connection assuming I had a server listening behind the router.
Example:
client (192.168.0.42) ---> router (192.168.0.1) ---> dns for me.example.com, returns my WAN IP - same thing curl icanhazip.com returns. Example 203.0.113.42
client (source:192.168.0.42, dest:203.0.113.42:443) ---> nothing. Hangs forever. Or until timeout.
That used to work just fine.
Now I can only access the router via my gateway of 192.168.0.1, but that only goes directly to the router, not to any of the machines behind it. If I want to connect to a server on the LAN I have to use the IP directly.
But the weird thing is that if I'm not connected to my wifi - literally any other network - then I can connect to my external IP and the traffic is correctly forwarded.
client(source: 192.0.2.42, dest: 203.0.113.42:443) ---> router ---> web server (192.168.0.42)
Is it possible to figure out where my packets are getting dropped? I've looked around for any kind of information in the router itself, but no dice. I also reached out to my ISP on Twitter, but they also weren't much help. I've used ping & traceroute - either attempts to connect to the routers public IP fail. I've also spun up wireshark, and can see the ping packets go out and other traffic attempts, but I'm not familiar enough with it to know if there's a way to use it to say, "Ah yes, these packets are definitely getting dropped at X". I've also completely disabled the firewall at the router level, as well as mucked with any setting that looked remotely promising (even screwing up my router bad enough to have to do a hard reset on it, I think that was configuring the IP passthru).
Is it possible for me to verify that the packets are either getting dropped by my router, or getting dropped at the ISP level? And if so, how would I do that?
EDIT
For further fun and excitement, apparently this only applies to lower ports. I don't know what the exact range is, but it appears that higher ports still allow connections.