I have a piece of equipment (WS-A) which has embedded web and email servers that can receive port 80 traffic and send out port 80 and port 25 traffic.
Currently WS-A sits on the LAN side of an existing router (Rtr-A) with a fixed LAN IP assigned as 192.168.1.195. I do not have access to this router, nor can I have its settings changed. It is currently set to forward port 80 inbound traffic to 192.168.1.195 and allow outbound traffic from 192.168.1.195 on ports 80 and 25.
I connect (port 80) remotely to change settings, and the equipment also connects on demand to other URLs to get firmware updates.
I would like to expand so that a 2nd piece of equipment (also with web and email servers, =WS-B) can now send out through 192.168.1.195.
Can another router do this? I was thinking that I would place a second router (=Rtr-B) between Rtr-A and WS-A and assign Rtr-B's WAN address as 192.168.1.95. Then on Router B's LAN side use IP address in the range of 192.168.0.xxx, turning off DHCP and statically assigning 192.168.0.xxx addresses to the downstream equipment. Will this work? To clarify, WS-A would now have 192.168.0.100, WS-B could have 192.168.0.101.
The problem will occur when I try to get to the WS-A's webserver from the internet. Do we set up port forwarding on Rtr-B, so that port 80 traffic goes to the 192.168.0.100:80 (WS-A) address of the original webserver? This seems logical. But how do we get to the other webserver on WS-B? It uses port 80 and cannot be changed.
Hopefully this is clear. Any ideas and corrections are most welcome.