remove wireguard second port thing
This commit is contained in:
parent
e79fcc1c91
commit
b4be3fef4e
1 changed files with 1 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ in {
|
|||
peers;
|
||||
in {
|
||||
allowedTCPPorts = getPortsWithProtocol "tcp";
|
||||
allowedUDPPorts = [51820 1234] ++ getPortsWithProtocol "udp";
|
||||
allowedUDPPorts = [51820] ++ getPortsWithProtocol "udp";
|
||||
extraCommands = forPortIps ({
|
||||
IP,
|
||||
port,
|
||||
|
|
@ -72,7 +72,6 @@ in {
|
|||
})
|
||||
peers;
|
||||
};
|
||||
"50-wg1" = lib.recursiveUpdate config.systemd.network.netdevs."50-wg0" {wireguardConig.ListenPort = 1234;};
|
||||
};
|
||||
|
||||
systemd.network.networks.wg0 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue