Unable to ssh to remote servers when WireGuard client is connected

I can ssh to the router (ar300m) from lan devices, but I can’t access remote servers.
When I disconnect WireGuard, I can access remote servers too.

Here is my WireGuard config:

[Interface]

PrivateKey = 

Address = 10.19.49.6/24

DNS =  172.16.0.1

[Peer]

PublicKey = 

AllowedIPs = 0.0.0.0/0

Endpoint = server ip:51820

Yeah, that’s because it will disable forward traffic from lan to wan when VPN is started. So you should add your remote server to VPN routing policy.