Wireguard on docker: question about not routing internet traffic on client

  • I got exactly the same issue (even though my Wireguard installation is on a RasPi via PiVPN script). Was searching for a solution and saw this post. Even though this was considered solved, I'd add some information:

    1. A workaround: add a Public DNS Server (eg. 8.8.8.8) to the "DNS=xxxx" under [Interface] section of the client config.

    Code
    [Interface]
    ...
    DNS=1st-one-is-your-WG-Server-IP, 8.8.8.8

    2. Have only been using OpenVPN on Asuwrt Merlin. They has an option to route "LAN only" traffic through the tunnel. So when I got this issue with Wireguard, I thought Wireguard behaviour was different. But reading chente answer, it turned out WG behaviour was the same, except that it was actually different on my setup (and luisfmrosa setup). Well, I'll continue to search and find the actual reason/solution.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!