I can’t configure port forwarding in VPN

I need help, I have a mi router 3 router on openwrt (x-wrt 23.10)

I have wireguard vpn configured to bypass blocking by domain name. I also have a server with open port 6003 and I need to open this port for wireguard so that I can connect to this port using my phone without being at home. I read several articles, but I still couldn’t do the redirection.

Let’s take a step back. You don’t mention if you have a public routable WAN IP address. It’s possible that you might be behind CGNAT so you might have configured everything correctly on your side, but you still can’t activate your port forward.

You should first verify that your WAN IP (without the VPN) address that OpenWRT reports matches what “What is my IP address?” in google reports.

If they match, then you know you’ve done something wrong in your configuration. If they don’t match then you’re probably behind CGNAT and will have to look at alternatives such as Tailscale, ZeroTier, NetBird, OpenZiti, and others.

Why not use custom DNS to avoid blocking by domain name?

Also, presumably you have set up a WireGuard client to a VPN provider?
If so, I would recommend setting up a WireGuard server locally that your device(s) can then connect to.

Most likely you misunderstood. Yes, my router does not have a static IP address, but the wireguard server is a remote vps server. The router and my phone are clients.

I have a wireguard server, and some sites do not allow me to log in from my country, that’s why I use VPN

Next time, I suggest you provide a bit more clarity as there was no mention of a VPS server in your original description.

As this is an OpenWRT subreddit, it sounded like you were trying to connect from your phone to your home location which is what many folks want to do.

I would suggest searching for open firewall port for your VPS server.

Yeah, I’m with u/caolle here.
Based on my and their responses, it wasn’t clear what you were trying to achieve and what you already had.

For questions like this, I would suggest trying to provide all the context that will help people provide appropriate answers.