i have a host of Routerboards installed in a premises which are on a 192.168.x.x network.
the gateway is 192.168.1.1 on the router which also has a WAN IP.
my question: i need to access all the routerboard stats from outside by accessing the WAN IP. how can i achieve all that on a single screen?? probably using DUDE?
but what needs to be done on the router/firewall end??
it also need to have a set of rules to define the data flow… i need to know how can i achieve all the devices flowing their data through single port on the router/firewall so i can use the DUDE to check the stats on the units.
You can use a dstnat rule in “/ip firewall nat” to port forward to all your internal routers. For an example, if you have a router assigned 192.168.1.2 and another at 192.168.1.3, then use this:
Change the to-ports setting to use the appropriate service. This uses the web config. Then access each like this for router1 http://x.x.x.x:8081
or this for router2 http://x.x.x.x:8082
edit: I forgot the protocol parameter. My bad. I added it.
i agree to this… now i could forward the ports as desired… but if i say we have multiple devices it would be maddening to keep changing the port of each device and then creating a frowarding rule on the router for that device.