title: Wireguard VPN does not receive data from server
body: <p>I have wireguard server and client configured as follows:</p>
  
  <p>Server:</p>
  
  <pre><code>[Interface]
  PrivateKey = &lt;server private key&gt;
  Address = 192.168.2.4
  ListenPort = 51821
  
  [Peer]
  PublicKey = &lt;client public key&gt;
  AllowedIPs = 172.20.10.5/32
  
  </code></pre>
  
  <p>Client:</p>
  
  <pre><code>[Interface]
  PrivateKey = &lt;client private key&gt;
  Address = 172.20.10.5
  
  [Peer]
  PublicKey = &lt;server public key&gt;
  AllowedIPs = 192.168.2.4/32
  Endpoint = &lt;Public IP&gt;:51821
  PersistentKeepalive = 25
  
  </code></pre>
  
  <p>When I start both of them, my client cannot ping any machine in the server's network. In the borowser, the ip is still client's internet IP. When I run <code>wg</code> on client, it shows some data are sent while 0 data received in transfer info.</p>
  
  <p>Is there any obvious error in my configuration? If not, what's a common way to troubleshoot? </p>