OpenWrt Forum Archive

Topic: strange routing problem?

The content of this topic has been archived on 27 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I have had to revert back to stock because of a problem which I suspect is routing (firewall maybe?)

I have a Cosy Smarthub which is a device that controls central heating. At install , the MAC had dto be associated with my email. My email was used to create an account with the provider. The hub periodically sends is MAC and local+WAN IP to the provider system. The hub is connected to my router via a Cat5e and works perfectly as does my LAN.
However
A phone app is used to control the hub. The phone app requires a data connection to access the provider using my account (email). The provider system then talks to my hub over the WAN. When I use mobile data, the app works. When I switch to my home WiFi, the app cannot connect to my hub via the provder.

I was using the latest version of LEDE:
https://downloads.lede-project.org/rele … actory.img

When I switch back to stock fw, the app now works when on WiFi

I would really like to go back to LEDE because it enables a third radio on this router which gives an optional 2nd 5Ghz band in addition to the extant two 2.4GHz and 5GHz bands. This third band was designed for radar detection but works perfectly as a third band - Ive used it.

Any ideas what I need to configure in LEDE to make this hub work?

Just a guess, but I suspect either the Cosy Smarthub, or your phone App is using UPNP to open ports on your router. And it isn't enabled (by default) on LEDE*. If you knew what port your Cosy Smarthub was opening on the stock firmware, you could probably just add that as a firewall rule to LEDE.

*UPNP is a bad thing, IMHO, because it gives other things control over your firewall, things that could be infected with viruses, and choose to open up lots of ports on your firewall without you knowing it.

The discussion might have continued from here.