networking – WireGuard server cannot access local network when activated

I have set up a WireGuard server in my home network in order to provide secure remote access to resources available in my homes local area network (e.g. AntMedia Server, Plex Server and Router management). The VPN tunnel is working and I am able to access the AntMedia Server and Plex server which are located on the same PC as the WirGuard Server. However I am unable to access other devices/PC’s within my homes local area network (e.g. my router).

In fact as soon as I turn on wire guard (using sudo wg-quick up wg0 ) I am no longer able to access my routers web interface from the ubuntu server.

For your reference some details are included below:

AntMedia Server Address: 192.168.104:5080

PlexServer Address: 192.168.104:32400

Router Address:

My hope router as a static IP provided my my ISP and i have port forwarding to my Ubuntu WireGuard server.

Server “wg0.conf” file

Address =
SaveConfig = true
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o wlp2s0 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o wlp2s0 -j MASQUERADE
ListenPort = 51820
PrivateKey = XX

AllowedIPs =
Endpoint = XX:55215

Windows Client config file

PrivateKey = XX
Address =

AllowedIPs =,
Endpoint = 202.XX.XX.XX:51820

Response from running “sudo wg show wg0”

interface: wg0
  public key: /HnQBFHaPPXEPwOcX4qtDTY872iX7AkW1VXXXXXXXXXX
  private key: (hidden)
  listening port: 51820

  endpoint: 49.XX.XX.XX:55047
  allowed ips:
  latest handshake: 21 seconds ago
  transfer: 29.52 KiB received, 46.31 KiB sent