I have Openhabian (Debian) running on Raspberry Pi 3B+
Occasionally (last time lets say after 5 days running Openhabian) one of my Smartphones can’t reach Openhabian through the network IP anymore at all. Not PaperUI or any other Webserver or Port, not even a Ping. Nothing is reachable as if the Openhabian doesn’t exists. Here are my findings:
Restarting the Smartphone is not solving it.
Changing the local IP of the Smartphone is not solving it.
Smartphone can still reach any other local network address. (e.G. Router Webserver, Diskstation Filesharing, Ping to every other Client, etc)
Every other Client (other smartphones or Computers) can reach Openhabian unrestricted.
Restarting the Router is not solving it.
TCPDUMP on Openhabian is not showing any incoming connection by the Smartphone. Every other incoming connection is shown correctly.
After rebooting Openhabian, it is reachable by the Smartphone again.
There was nothing changed on Openhabian which could explain this. (Firewall or IPTables were never touched by my)
I know this is pretty sure not an Openhab, nor an Openhabian issue, but maybe some network experts can tell me what to try if it happens again.
No Firewall, nor AV Software. But I share your opposition. Its almost impossible to be caused by the phone.
Would be possible as OpenWRT is running on it. But will there be a TCPDump? Traceroute from any device to openhabian just shows one direct hopp. The Router should be working as an Switch on the LAN side. TCPDump should only show NAT traffic, am I right? Still the same opposition as your first question. Why is it the router if it works after rebooting openhabian.
Ok, no its getting clearer but still spooky. This time the Laptop couldnt reach openhabian in any way. After I connected by ssh from another device to openhabian and tried to ping the laptop, it took maybe 3 seconds (obviously longer than ususally) and the first ping to the laptop was returned. In the same time the Laptop could reach openhabian again. Checked the smartphone (from the first post) afterwards and it could also not reach Openhabian. Same procedure: pinged it from Openhabian, took 3 seconds, Ping was replied, Openhaiban was reachable by the Smartphone again too.
Something on Openhabian (Debian) is preventing any network traffic from some specific devices until it tries to contact them. Any clue what to search for on Google?
These are IPTables while its working. But I can check them again when it occurs again. But what should change them? And return it to normal after a ping? And lasts for days until reboot? Don’t think its the rules, it assume something deeper.