The router was set up as a WireGuard peer (interface localnet; IP address range 192.168.9.x)
The local network on router eth0 has the IP address range 192.168.8.x.
The peers in WireGuard localnet network should be able to access the clients in local network.
Currently the WireGuard peers can ping the router and each other, but not the clients in local network.
torch shows that the ping ICMP packet indeed reaches the client in local network (192.168.8.x), and the client answers back to the 192.168.9.x peer,
but the response packet isn’t routed back to the WireGuard network, hence the pinging peer doesn’t see a ping response.
The router got an IP address added (192.168.9.4), hence a “Connected route” has been automatically added f or 192.168.9.0 to interface localnet.
This doesn’t seem to suffice as the response packets are not routed back.
The firewall also has been configured to accept packets from 192.168.8.x to 192.168.9.xand vice versa (accept action; forward chain).
Is this a bug or a missing piece of configuration?
The Ubuntu system (10.0.0.1) as a Wireguard peer (and Wireguard “server”) is unable to ping the ipcam.
Mikrotik torch shows that the ICMP ping packets indeed reach the IPCam (192.168.8.109) but the response packets from that IPCam back to 10.0.0.1,
albeit also shown in torch, are not routed back, hence pings will timeout:
(Torch on eth ipcam)
I’m not sure if this is the cause of your problem, but 10.0.0.0/24 is not a valid address given that subnet mask. You should use something that doesn’t end in .255 or .0 for a /24.
Thanks for your reply! Alright, I changed the IP address from 10.0.0.0 to 10.0.0.4 (/24).
However, the response packets from 192.168.109 (ipcam on eth ipcam1) to 10.0.0.1 (pinging on localnet) are still stuck, not routed back to localnet (WireGuard peer interface).