[Solved] Private WAN to LANs

Hey All,

I’m quite new to openwrt... but quite network savvy.

I’ve got 2x GL150 routers and I’m trying to do the following

Connect the two routers together via the WAN ports on /30 subnet. Then, get the two networks off each of the LAN ports to talk to each other.

I’ve got the WAN side working and can ping one router from the other, but can’t get the LAN side networks to ping each other... LAN sides are both /24 on different subnets from the defaults.

I think it’s something simple or firewall related. This can be as down and dirty as needs be, it’s purely for getting the LANs talking in a lab.

Any helps appreciated

First you need to add static routes for each lan on the opposite router.
Then you need to allow the inbound traffic from wan to the lan, because it is by default denied.

3 Likes

Ok...so

Rtr 1 WAN is 172.16.0.1 /30 - LAN is 192.168.8.0 /24
Rtr 2 WAN is 172.16.0.2/30 - LAN is 192.168.10.0 /24

Static routes would be.

192.168.10.0/24 -> 192.168.8.1... or is it the WAN IP 172.16.0.1

On RT2 static route to 192.168.8.0/24 via 172.16.0.1

1 Like

That makes sense, thanks. Still not working though.

I’ve checked FW, zones for LAN & WAN all to accept. All traffic rules for accept checked and one for discard unchecked. Moved ping rule to the top.

Done this both sides with no luck

Did you add the static route for 192.168.10.0/24 via 172.16.0.2 on RT1?

1 Like

All sorted, I’d left the static route interface on LAN... as soon as I changed to WAN it dropped in.

Thanks for your assistance :blush::+1:

1 Like

If your problem is solved, please consider marking this topic as [Solved]. See How to mark a topic as [Solved] for a short how-to.

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