I have a webcam server that requires port forwarding to be able to access it from Internet, but the webcam server is located in a subnet and I couldn't make it work.
Description of my setup:
There is a D-LINK ADSL modem router accessing Internet, its IP address of 192.168.1.1.
This modem only has one output ethernet port. Currently a Ethernet cable connects this port to switch (not router, switch), a few PCs in my house connects to this switch via ethernet cable. They all have IP address of 192.168.1.x
I have a D-LINK wifi router placed at the center of the house, it has Ethernet connection to the switch, it's IP address is 192.168.1.2
Now anything connected to this wifi router, will have IP address of 192.168.0.x, where 192.168.0.1 is the IP of the wifi router.
Now the problem is, I have a webcam server connected to this wifi router via Ethernet, it has IP of 192.168.0.50.
I need to enable port forward from modem to this webcam server. Since i cant directly port flrward from 192.168.1.1 to 192.168.0.50, In my modem setup, I try to port forward to 192.168.1.2, and then on the wifi router, I try to port forward to 192.168.0.50.
Hoever this doesn't work so far. Any guides. On how can I setup this?
Screenshots of my modem router setup, I try to port forward to my Wifi router at 192.168.1.2:
Screenshots of my wifi router setup, I try to port forward to my webcam server at 192.168.0.50: