service/wireguard-server: bypass firewalls

This commit is contained in:
Max Headroom 2022-05-03 09:16:21 +02:00
parent 3268921a92
commit e3887d0573

View file

@ -12,7 +12,7 @@ in
networking = {
firewall = {
allowedUDPPorts = [ 51194 ];
allowedUDPPorts = [ 43 ];
};
nat.internalIPs = [
@ -23,7 +23,7 @@ in
enable = true;
interfaces.wgstorm = {
ips = [ "10.100.0.1/24" ];
listenPort = 51194;
listenPort = 43;
privateKeyFile = config.age.secrets.wireguard-key-storm.path;
peers = [
{