open firewall ports

This commit is contained in:
alex 2024-02-29 22:52:43 -05:00
parent b24f4adf61
commit a2be6386be
1 changed files with 3 additions and 1 deletions

View File

@ -31,8 +31,10 @@
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
networking.firewall = {
allowedUDPPorts = [ 51820 ]; # Clients and peers can use the same port, see listenport
allowedUDPPorts = [ 51820 22000 ]; # Clients and peers can use the same port, see listenport
allowedTCPPorts = [ 22000 48412 62109 ];
};
# Enable WireGuard
networking.wireguard.interfaces = {
# "wg0" is the network interface name. You can name the interface arbitrarily.