Port forwarding issue - double router

Hi all,

I succesfully installed Hass.io on my Raspberry Pi 3 and i’m trying to set up port forwarding but i’m experiencing difficulties at the moment.

This is my current situation:

  • i have a Sitecom Router directly connected to my modem (Sitecom local IP: 192.168.1.12)
  • i have an Asus router which is connected to my Sitecom router (ASUS local IP: 192.168.1.1)
  • i have my raspberry pi connected through ethernet cable with my asus router (Pi local IP 192.168.1.172)

in my Sitecom: i’ve forwarded port 8123 to the IP of my ASUS
In my ASUS: i’ve forwarded port 8123 to the IP of my Pi running hass.io

Now 'm trying to acces my home assistant from outside my network (4g) by going to my external IP and port 8123: (65.XX.XX.XXX:8123)

This does not work? I’m actually struggling for DAYS with this situation. I want to setup a Zigbee dongle and connect my Google Home with my Home Assistant.

If someone could help me it would be great and you would save my day!

Thanks in advance!!!

Kind regards,

Koen (Netherlands)

why 2 routers? just disable 1 , always not recommended 2 have 2 routers for double nat

or place your second router in a DMZ
so turn DMZ to forward everything to your asus router, also choose a different IP range
like sitecom 192.168.2.1
asus then 192.168.1.1

Do you definitely have the Sitecom Router forwarding to the WAN address showing up in the ASUS interface and not 192.168.1.1

Can’t you just use your ASUS one plugged into the Modem?
You should be able to get your ASUS talking to the Modem directly does your ISP give you the PPPoE info?

Or just plug the Raspberry PI into the Sitecom?

One trick you can try is to find out the IP address of the second router and the set your port forwarding of the first router to that IP address; which would be IP of the second router.

Hi Koen, there are some things unclear about your network wiring.

A router normally has a WAN port (for an external network) and a LAN port (for a local network).

It is unclear whether your Asus WAN port is connected to a Sitcom LAN port (option1)? Or is your Asus connected via a LAN port to a Sitcom LAN port (option 2)? If it is option 2, the Asus is not really use as a router tween two network, more as a WIFI access point in the same network.

I assume that your modem is connected to your WAN port of your Sitcom router. Is that correct?

You write that your raspberry pi, Asus and Sitcom all have an IP address in the 192.168.1.x subnet. This suggests that your Asus is not connected via the WAN port, because a router can not have the same subnet range on the LAN as the WAN interface at the same time.

This means that you only need to configure port forwarding in your Sitcom router and point directly to your home assistant.

If your Sitcom is connected to your Asus WAN port, then we have another store, but first try to configure port forwarding only in your Sitcom.

I hope this is helpful for you.