Wireguard VPN Server -> Router -> Server -> Phone


I have a question about wireguard VPN I need to set up remote access to a server.

LAN Server -> OpenWRT Router with wireguard -> Ubuntu Server with wireguard (Public IP) -> Phone with wireguard

I need to create a tunnel from my phone to a server on my local network.

Can anyone direct me how to set up?

Thank you

to ensure that I am reading this properly, can you confirm that the Ubuntu Server has Wireguard setup in a server-type configuration (in other words, it is listening for inbound connections from the phone and the OpenWrt peers)?

If so, this shouldn't be that difficult to achieve.
Let's take a look at the config files from your OpenWrt router as well as the WG config from your phone.

Please copy the output of the following commands and post it here using the "Preformatted text </> " button:
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

cat /etc/config/network
cat /etc/config/firewall