Q:

How do i communicate between my LAN & WLAN which are on different subnets?

I want to communicate from a PC to a server and vice versa where the PC and server are on completely different subnets.
The configuration is:
Router 1 has an ip address of 172.16.13.1(LAN)
The PC has an ip address assigned by router1's DHCP client.
Router 1 is connected to router2 through a WLAN interface(192.168.1.9)
Router2 has an ip address of 192.168.1.1(LAN), gateway 192.168.1.254
PC<->Router1<->Router2<->Server
How can i communicate/pass traffic from my PC to the server which are on different subnets? I have done some research online but as I am not that familiar with networking, I still dont understand how this can be done. Would i need to implement some static routes?
Thank you

A:

You need to setup "port forwarding" on your router that connects the 192.168.0.* subnet to the 172.16.13.* subnet
If you need to connect to multiple PCs you will need to distinguish them by a different ports, since you only have 1 IP available.
It would look like this:
PC1 192.168.1.2:80   -> 172.16.13.1:81
PC2 192.168.1.2:80   -> 172.16.13.1:82
etc.
(assuming 172.16.13.1 is the WLAN interface of your router)
if you type http:// 172.16.13.1:82 yo your browser you end up on the web server of PC2.
Each router has a different setup here is an example for Dlink routers:
Dlink port forwarding guide

