Git Product home page Git Product logo

Comments (10)

ViRb3 avatar ViRb3 commented on May 19, 2024

There's a lot that could be wrong, and it's most probably related to your setup rather than wgcf. Try this free VPN provided by TunSafe. Generate a profile and use it the same way as you use the wgcf profile. Does it work? If not, then the problem is with you, and not wgcf. Otherwise please let me know and I will investigate.

from wgcf.

barolo avatar barolo commented on May 19, 2024

It seems to be an issue with systemd, systemd-netwokd
"Routing all DNS over WireGuard (i.e. Domains=~.) will prevent the DNS resolution of endpoints."
"systemd-networkd does not automatically create routes for subnets specified in AllowedIPs. See systemd issue 14176. This will not affect the connectivity between peers since they exist in the subnet that is specified with the Address= option in the .network file.:"
Unsure why it's not popping up everywhere though

from wgcf.

ViRb3 avatar ViRb3 commented on May 19, 2024

I am using WireGuard on Ubuntu and Debian with systemd without any problems. The routes not being added from AllowedIPs is related to #2, and I can confirm that the missing routes are not a problem. Did you test the other VPN, does it work?

from wgcf.

barolo avatar barolo commented on May 19, 2024

I'm trying is TunSafe one working for you?
I'm testing it on two systems one without systemd, with 5.6 kernels and inbuilt wireguard, both have issues with name resolution
Edit: It's working on my systemd system now, unsure what fixed it....

from wgcf.

ViRb3 avatar ViRb3 commented on May 19, 2024

Sorry, apparently TunSafe VPN doesn't work (right now), so you can't test on it. I'm glad the problem fixed by itself, although that's not the answer one would want to hear. If you find any problems with wgcf itself I would be more than happy to look into them, but system-specific problems are really off of my limits. I am closing this now.

from wgcf.

barolo avatar barolo commented on May 19, 2024

What I did, was to make sure that resolv.conf is properly symlinked, and removed ipv6 addresses from generated config as neither my system nor my ISP support ipv6 at all
Might be useful for somebody passing by

from wgcf.

mahdi-ln avatar mahdi-ln commented on May 19, 2024

What I did, was to make sure that resolv.conf is properly symlinked, and removed ipv6 addresses from generated config as neither my system nor my ISP support ipv6 at all
Might be useful for somebody passing by

At beginning this solved my problem but now the problem is returned.

from wgcf.

barolo avatar barolo commented on May 19, 2024

What I did, was to make sure that resolv.conf is properly symlinked, and removed ipv6 addresses from generated config as neither my system nor my ISP support ipv6 at all
Might be useful for somebody passing by

At beginning this solved my problem but now the problem is returned.

It works fine on both of my systems now, but, I have to remember to launch wg-quick with sudo, otherwise it won't work even though it seemingly connects. And I have to remove ALL ipv6 entries, Addresses and AllowedIPs

from wgcf.

ViRb3 avatar ViRb3 commented on May 19, 2024

My ISP doesn't support IPv6 either, but IPv6-enabled WireGuard profiles like this one work fine on my Windows and Ubuntu machines, without any changes. I'm afraid I can't really help here since I cannot reproduce this issue, but it's most likely a routing problem.

from wgcf.

barolo avatar barolo commented on May 19, 2024

My ISP doesn't support IPv6 either, but IPv6-enabled WireGuard profiles like this one work fine on my Windows and Ubuntu machines, without any changes. I'm afraid I can't really help here since I cannot reproduce this issue, but it's most likely a routing problem.

I agree that ipv6 is most likely a secondary thing [ and my fault, I'm on Gentoo ] in my case it was the resolving which fixed both machines.
Is it normal to have to use sudo to make it work? Shouldn't we be able to just import the profile via networkmanager and use it?

from wgcf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.