How to set port forwarding for Home Assistant when you have a Fritz box 7530 with a TPlink Deco M9 connected to it

Hi,
I have a Fritz box router with a TP-link Deco M9plus connected to it. In the Deco network is a device running Home Assistant.
Can anybody tell me how to set the port forwarding in both the Fritz box and the Deco M9plus, so that i can reach the home assistant system via Duckdns?

Is there a reason n to use double NAT’ing?

1 Like

I have very limited knowledge of networks and donot know what double NATing is. Preferably i donot want to change my whole setup and maybe loose some current connectivity that i now have. With my limited knowledge i thought that port forwarding was the easiest solution.

Depends which is being used as the router I guess. I have a FritzBox 7590 and Deco P7 but use the FritzBox as the router and the TP-Links as just wifi mesh. I have the port forwarding then just setup in the FritzBox settings.

The setup Philip_Embleton is describing is the common setup.
Double NAT’ing, where both act as router divide the network, so you will have internet on WAN side of the Fritzbox, LAN 1 on the other side of the Fritzbox, LAN 1 on the WAN of Deco router and LAN 2 of the other side of Deco router.

LAN 1 will not be able to see devices on LAN 2 and vice versa, unless you make some port forwarding and some things might require more than just portforwarding to work.

To complement Wally, you can simply put your deco to “Access point” mode in the tplink app to have your router and devices linked to the deco in the same network.

1 Like

Thank you all for replying.
I did change the mode to access point, but found out that everytjing got new ip adresses. As a result none of my existing home automation worked anymore. Since i have a lot i did not want to redo it all.
In the meantime i made it possible to reach my home assistant from the outside via Duckdns and letsencrypt. however casting to google hubs does not work yet. I get a logo and not connected.

Hi,

One option is to change the DHCP/LAN range on the Fritz!Box, for example from 192.168.178.1/24 to 192.168.1.1/24.

Double NAT isn’t ideal :wink: and can cause communication issues.

Thank you! that sounds good.
one more question: if i change the mode to Access point and change the DHCP/LAN range to 192.168.1.1/24. Am i then running double NAT?
I get a lot of warning not to do so.

The access mode should indicate you are not running a NAT on the deco.
The other mode is probably router, which is NAT.

No. Double NAT is:

  1. LAN → Router -x-> Internet
  2. Devices → Deco -x-> LAN

Thanks, now i understand.