🚂
This commit is contained in:
parent
fcfd36c63b
commit
202611d0b8
18 changed files with 174 additions and 63 deletions
|
@ -10,6 +10,20 @@
|
|||
networking.nat.internalInterfaces = ["wg0"];
|
||||
networking.firewall = {
|
||||
allowedUDPPorts = [51820];
|
||||
interfaces.wg0 = {
|
||||
allowedUDPPortRanges = [
|
||||
{
|
||||
from = 0;
|
||||
to = 65535;
|
||||
}
|
||||
];
|
||||
allowedTCPPortRanges = [
|
||||
{
|
||||
from = 0;
|
||||
to = 65535;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
networking.wireguard.interfaces = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue