WireGuard: Difference between revisions

imported>Luis-Hebendanz
mNo edit summary
imported>Luis-Hebendanz
mNo edit summary
Line 25: Line 25:
   networking.nat.internalInterfaces = [ "wg0" ];
   networking.nat.internalInterfaces = [ "wg0" ];
   networking.firewall.allowedUDPPorts = [ 51820  ];
   networking.firewall.allowedUDPPorts = [ 51820  ];
   networking.wireguard.interfaces = {
   networking.wireguard.interfaces = {
     # "wg0" is the network interface name. You can name the interface arbitrarily.
     # "wg0" is the network interface name. You can name the interface arbitrarily.