<div dir="ltr"><div><div><div><div><div><div><div><div><div>Hello Max,<br><br></div>I went ahead and tested this on Fedora 27 w/ NetworkManager 1.8.6-1.fc27 and was able to get it working. A few things I noticed:<br></div><br>Starting the VPN with SELinux enabled results in a number of alerts. Mostly for the sysctl source process. This is to be expected as you mentioned you were testing on Arch. If this ever ends up getting packaged for Fedora the policies can probably be added to the RPM.<br><br></div>The DNS field under Identity does not currently function. I am not sure how you want to handle this field as NetworkManager has their own DNS field under the IPv4 tab in the GUI.<br><br></div>The Endpoint section of the GUI only accepts IP addresses and not FQDNs.<br><br></div>and the last thing I noticed: the Private Key section is required. This breaks functionality if you were to have your private key stored in a password manager. This is solvable by just pasting a properly formatted key (I just used my public key) into the field and adding a Post Up script to grab the private key string.<br><br></div>I am going to keep playing around with this and possibly work on packaging it into an RPM. <br><br></div>This adds quite a bit of value to Wireguard imo so glad to see you worked on this. Thank you! <br><br></div>Cheers,<br></div>Jordan DeBeer<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 14, 2018 at 10:28 AM, Jason A. Donenfeld <span dir="ltr"><<a href="mailto:Jason@zx2c4.com" target="_blank">Jason@zx2c4.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hey Max,<br>
<br>
This is wonderful news. I'm happy to work with you to make sure this<br>
comes out perfectly, and maybe when it's finished we can submit it<br>
upstream to NetworkManager, similar to how systemd-networkd now has<br>
WireGuard support built-in.<br>
<br>
The biggest hurdle I currently see is entirely removing the dependency<br>
on wg-quick and wg, and talking Netlink yourself to the kernel, just<br>
like systemd-networkd does. It shouldn't be too hard to adopt the<br>
libmnl-based code in wg(8) to be suitable for your usage; I can assist<br>
with this. In general, the fwmark/routing logic of wg-quick should<br>
probably be done in a NetworkManager-centric way, which means not<br>
using wg-quick.<br>
<br>
Looks like things are off to a great start!<br>
<br>
Jason<br>
______________________________<wbr>_________________<br>
WireGuard mailing list<br>
<a href="mailto:WireGuard@lists.zx2c4.com">WireGuard@lists.zx2c4.com</a><br>
<a href="https://lists.zx2c4.com/mailman/listinfo/wireguard" rel="noreferrer" target="_blank">https://lists.zx2c4.com/<wbr>mailman/listinfo/wireguard</a><br>
</blockquote></div><br></div>