-
Notifications
You must be signed in to change notification settings - Fork 644
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
Add subnet to config #2
Comments
🎉 This issue has been resolved in version 1.0.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
There is still an issue with the IPv4 subnet mask. When I use "172.16.0.2/32" for IPv4, it is still not getting added to the routing table. Perhaps it is better to use "172.16.0.2/12" for the subnet mask since it should cover the entire private ip range used. "route with 172.16.0.2/12" If "172.16.0.2/32" is used, then "172.16.0.0" is not added to the routing table. |
From the unofficial WireGuard docs:
What is your use case exactly? What are you trying to route? |
I don't have any special use case. I just noticed that "172.16.0.2/32" does not show up in the routing table, but "172.16.0.2/12" and "172.16.0.2/24" do. So, it seems like the routing table does not accept "/32" as a subnet mask. Either way, "172.16.0.2/32" still seems to work functionally. The address with "/32" just does not show up in routing table when I type "route". |
I guess it is irrelevant that the address shows up in the routing table. The most common use case would be a client that only routes traffic for itself, so "172.16.0.2/32" seems to be correct in most cases. I think you have it correct, the more that I think about it. |
I also believe that the client doesn't need to route anything but itself when operating in client mode, so no changes are necessary. Thanks for the input though! |
If the subnet is not added to the Address, then the new route does now show up when typing "route", on Linux.
syphyr@37ea9a4
The text was updated successfully, but these errors were encountered: