Is there any solution i cannot ping openwrt wireguard client from my own server
if using this config "option route_allowed_ips 0". but if i use this option route_allowed_ips '1', openwrt client is pingable from server, but i dont want to use wireguard as isp that is why i use option route_allowed_ips '0'. I just want wireguard as remote access.
That's not what route_allowed_ips
means. You would set this to 1
if you're creating a point-to-site or site-to-site setup.
Please describe your network topology. My guess is that your setup looks like this:
client <-> OpenWrt <--> Internet <--> server
<--- Wireguard -->
Here, Wireguard is configured on the OpenWrt router and the server so you have a tunnel across the Internet. The client isn't running Wireguard, but is in OpenWrt's LAN.
If this isn't what you have, please tell us the actual setup. Also share the contents of your /etc/config/network
file. Be sure to redact all private keys and PSKs.