accessing behind a router...

hi,

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?

regards,
-sid

dude, SNMP or something like that.

http://en.wikipedia.org/wiki/Comparison_of_network_monitoring_systems

yes… SNMP is true…

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:

/ip firewall nat
add chain=dstnat action=dst-nat dst-port=8081 to-addresses=192.168.1.2 to-ports=80 protocol=tcp
add chain=dstnat action=dst-nat dst-port=8082 to-addresses=192.168.1.3 to-ports=80 protocol=tcp

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.

hi,

thank you very much for the reply. it is quiet useful.

unfortunately the router/firewall is of TECHROUTES brand and I have no command over its syntax of port forwarding.

also will i have to define a different port for each routerboard device to pass through the port forwarding??

Setup a router nr 3. cheep. Add l2tp server at this. Then make l2tp tunnels from your 2 boxes, and access trough the IP at the VPN interface.

samsung… thank you for the reply. sorry but it confused me…

could you tell me in some other way??

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.

need a much better efficient solution…

let me know…

time to call NORMIS!!! :slight_smile: HELP HELP HELP