Clean up fireall
This commit is contained in:
parent
a43916363d
commit
f8209b76b8
1 changed files with 6 additions and 30 deletions
|
@ -32,36 +32,12 @@
|
||||||
internalInterfaces = [ "wireguard0" ];
|
internalInterfaces = [ "wireguard0" ];
|
||||||
externalInterface = "enp0s4";
|
externalInterface = "enp0s4";
|
||||||
forwardPorts = [
|
forwardPorts = [
|
||||||
{ # Headscale DERP UDP
|
{ destination = "10.100.0.2:3478"; proto = "udp"; sourcePort = 3478; } # HTTP
|
||||||
destination = "10.100.0.2:3478";
|
{ destination = "10.100.0.2:80"; proto = "tcp"; sourcePort = 80; } # HTTPS
|
||||||
proto = "udp";
|
{ destination = "10.100.0.2:443"; proto = "tcp"; sourcePort = 443; } # Vintage Story
|
||||||
sourcePort = 3478;
|
{ destination = "10.100.0.2:42420"; proto = "tcp"; sourcePort = 42420; } # Minecraft
|
||||||
}
|
{ destination = "10.100.0.2:25565"; proto = "tcp"; sourcePort = 25565; } # Headscale DERP (tcp)
|
||||||
{ # HTTP
|
{ destination = "10.100.0.2:1443"; proto = "tcp"; sourcePort = 1443; } # Headscale DERP (udp)
|
||||||
destination = "10.100.0.2:80";
|
|
||||||
proto = "tcp";
|
|
||||||
sourcePort = 80;
|
|
||||||
}
|
|
||||||
{ # HTTPS
|
|
||||||
destination = "10.100.0.2:443";
|
|
||||||
proto = "tcp";
|
|
||||||
sourcePort = 443;
|
|
||||||
}
|
|
||||||
{ # Vintage Story
|
|
||||||
destination = "10.100.0.2:42420";
|
|
||||||
proto = "tcp";
|
|
||||||
sourcePort = 42420;
|
|
||||||
}
|
|
||||||
{ # Minecraft
|
|
||||||
destination = "10.100.0.2:25565";
|
|
||||||
proto = "tcp";
|
|
||||||
sourcePort = 25565;
|
|
||||||
}
|
|
||||||
{ # Headscale DERP TCP
|
|
||||||
destination = "10.100.0.2:1443";
|
|
||||||
proto = "tcp";
|
|
||||||
sourcePort = 1443;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue