This is the tcpdump output on the tun interface in the OpenVPN server side when pinging the IP address of the VPN server in the WiFi network from the VPN client:
root@OpenWrt:~# tcpdump -i tun0 -v "icmp or arp" -vv -en
tcpdump: listening on tun0, link-type RAW (Raw IP), capture size 65535 bytes
22:44:22.268116 ip: (tos 0x0, ttl 64, id 31762, offset 0, flags [DF], proto ICMP (1), length 84)
10.8.0.10 > 192.168.1.6: ICMP echo request, id 21892, seq 9, length 64
22:44:22.268334 ip: (tos 0x0, ttl 64, id 60613, offset 0, flags [none], proto ICMP (1), length 84)
192.168.1.6 > 10.8.0.10: ICMP echo reply, id 21892, seq 9, length 64
However, if I ping my router (192.168.1.1) from the VPN client I got no replies:
root@OpenWrt:~# tcpdump -i tun0 -v "icmp or arp" -vv -en
tcpdump: listening on tun0, link-type RAW (Raw IP), capture size 65535 bytes
22:47:10.177555 ip: (tos 0x0, ttl 64, id 58689, offset 0, flags [DF], proto ICMP (1), length 84)
10.8.0.10 > 192.168.1.1: ICMP echo request, id 21930, seq 1, length 64
22:47:11.183680 ip: (tos 0x0, ttl 64, id 58691, offset 0, flags [DF], proto ICMP (1), length 84)
10.8.0.10 > 192.168.1.1: ICMP echo request, id 21930, seq 2, length 64