Hello !
I have Raspi-OpenWRT as the first router from ISP, and Fritzbox4020-OpenWRT as the router behind it (hooked on 192.168.1.0 net). FB's address on the WAN side is 192.168.1.101. I have a Raspi2 (PiOS) hooked on FB in the net 192.168.10.0, and its address is 192.168.10.30.
ISP--RP.OpenWRT--FB--raspi2.
I am having difficulties in making things on Raspi2 accessible from RP-Openwrt. I am trying in small steps.
First: I want to ping raspi2 from 192.168.1.0 of RP-Opewrt.
On raspi-Openwrt I set:
config route
option interface 'lan'
option target '192.168.10.0'
option netmask '255.255.255.0'
option gateway '192.168.1.101'
Note that lan's subnet is 192.168.1.0.
And on FB I set
config rule
option name 'ping from wan'
list proto 'icmp'
option src 'wan'
option dest 'lan'
option target 'ACCEPT'
list dest_ip '192.168.10.30'
And now, my PC is 192.168.1.205 on raspi-openwrt, I type
ping 192.168.10.30
but it doesn't go through !
I had a similar problem earlier, I got help here, and I thought I understood it, but it seems I'm not quite there;; I am sorry for asking the same question, could you please help;; ??