I have openwrt router. It has 3 interfaces: "wan", "lan" (192.168.1.1) and "tun" (10.8.0.2).
"wan" is connection with internet and it has real ip.
"lan" is my local network with 192.168.1.0/24 net.
Also on this router there is openvpn server. To this openvpn server connets some client from internet (from "wan") and gets ip 10.8.0.6. This client can be pinged from router, but cannot be pinged from my local network.
Some workaround is to connect client to openvpn server from local network. In this case second connected client pings 10.8.0.6. But it's bad way i think cause this is excess load for router.
Can you help me and poke my nose where i need to dig? Is it "route" or "iptables" forwarding?
All lists (routing, iptables) can be printed here if needs.
Thanks thanks thanks!