WireGuard: Difference between revisions

imported>Arosl
Client setup: added comment about PrivateKeyFile permissions
imported>Nrbray
m avoids warning trace: warning: The combination of `systemd.network.enable = true` [wireguard], `networking.useDHCP = true` and `networking.useNetworkd = false` can cause both networkd and dhcpcd to manage the same interfaces. This can lead to loss of netw
Line 247: Line 247:
}: {
}: {
   networking.firewall.allowedUDPPorts = [51820];
   networking.firewall.allowedUDPPorts = [51820];
  networking.useNetworkd = true; 
   systemd.network = {
   systemd.network = {
     enable = true;
     enable = true;