Set Up device avaiability

Hello, have two routers with OpenWRT, Xiaomi Router 4C and Xiaomi Router Mini, second works as wireless client and some servers are connected to it by LAN. This servers have IPMI and WebUI of it, but it's accessible only from second, client router network, I need to set up this routers to get access to the ipmi WebUi form the main router network, how can I do it?
Now for administration of this servers I use ssh connection to second router, and then, from it, get ssh connection to server.

  • Add a static route on the upstream router to the server's subnet via the downstream router.
  • Enable masquerading on the downstream firewall zone of the downstream router if necessary.
1 Like


masquerading on both markers? It's second router, client - is it right way?

Yep, enable masquerading for both zones at least for testing.

1 Like

ok, masquerading is done, now I need make like this?


192.168.1.1 is main router and 192.168.5.1 is client router, 192.168.5.237 on fo the ipmi WebUI ip, on both routers net mask is 255.255.255.0

  • Specify the server subnet as the target and the WAN IP of the downstream router as the gateway.
  • Add firewall forwarding from WAN to LAN zone on the downstream router.
1 Like

it's server's ip in it's network(192.168.5.237) or it's gateway(192.168.5.1)?

With netmask of 255.255.255.0, it doesn't really matter, but 192.168.5.0 looks better.

1 Like

Ok, thanks, with target :192.168.5.0 , mask 255.255.255.0 and getawey 192.168.1.188 it's works good. Great thanks.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.