open firewall ports
This commit is contained in:
parent
b24f4adf61
commit
a2be6386be
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue