-
Notifications
You must be signed in to change notification settings - Fork 558
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: When using a "standard VPN" there is no connectivity on Linux (via imported wireguard conf file) #1469
Comments
If it is working on Windows and Android, there is nothing in our config that would prevent it from working on Linux; it is a pure, standard wireguard config that is compatible with any client that can run a conf file, so it must be a limitation with wireguard on the device. |
No, I'm not. I'm not using the latest version hence I can't use 0.0.0.0/0. I followed the linked official guide to set up internet gateway. These are the settings I set (it was specified like this in the official documentation which now has changed coz of the new version released) https://photos.google.com/share/AF1QipPTzV5HMMe1ZkvflOBDp5HApgOLqvka9Oz3K1Oosgd-bJbbNI2YDaA-PjoqvG2DhA/photo/AF1QipNvn4Q_sgDzo5OX8O8PPY8izMusbTJ8mTVoWik5?key=WTlTd1NXbXVIbFFaTmhTdnNPc095cEplNDl3OVd3
Yes.
Well, when another person tried to run in on ubuntu it didn't work either. And it didn't work on any linux distro I tried, even the live bootable image. |
My best guess is that for peer Endpoints, it was attempting to route the traffic over the egress gateway in order to reach those Endpoints, which wont work. With 0.0.0.0/0 it works differently by changing the gateway, so it is worth trying with this new version. |
@Semelovich are you by any chance using the "exclude local IPs" option? If yes, you are probably experiencing the following issue: Workaround (scroll down for "better" route method): |
What happened?
When using a "standard VPN" there is no connectivity on Linux (via imported wireguard conf file)
Netmaker:
Conditions to reproduce a bug:
set up a standard VPN following the official guide at https://youtu.be/NWMYPU2FCjI?t=2760
import wireguard conf file to a client PC ("external client")
activate wireguard connection
Results:
No connectivity on any Linux OS including live images.. A connection to the server is established but there are no packers going.
Proper connectivity on Windows and Android devices with the same wireguard conf file.
Expected results:
The wireguard configuration generated by the Netmaker server should work on any OS, not just Windows and Android.
Additional information
Linux PC info:
ip addr https://pastebin.com/tqAymq20
ip route https://pastebin.com/KfAXN8Ke
This behavior on Linux OS is also confirmed here https://old.reddit.com/r/netmaker/comments/ws9j7k/netmaker_using_as_a_simple_vpn_issues_on_linux/il193o3/
Version
v0.14.6
What OS are you using?
Linux, Windows
Relevant log output
No response
Contributing guidelines
The text was updated successfully, but these errors were encountered: