wireguard-install icon indicating copy to clipboard operation
wireguard-install copied to clipboard

WireGuard hosted on Google Cloud (Google Compute Engine) cannot access Google.com, YouTube.com, and many other sites

Open rajannpatel opened this issue 3 years ago • 1 comments

Steps to Reproduce:

  1. Add client using wireguard-install.sh on a Google Compute Engine Server running Ubuntu 20.04 LTS
  2. Scan QR Code on iOS or Android device, or use .conf file to set up tunnel on official Wireguard application on macOS or Windows
  3. Connect to the server using Wireguard profile
  4. Open browser and visit google.com
  5. Time out

Solution

Set the appropriate MTU by looking at the MTU value set in /sys/class/net/wg0/mtu, and explicitly setting it for Clients, instead of relying on it to be automatically determined.

rajannpatel avatar Aug 25 '20 02:08 rajannpatel

This has been tested / proven here: https://github.com/rajannpatel/Pi-Hole-on-Google-Compute-Engine-Free-Tier-with-Full-Tunnel-and-Split-Tunnel-Wireguard-VPN-Configs/issues/12

rajannpatel avatar Aug 25 '20 15:08 rajannpatel