.
This commit is contained in:
@@ -13,18 +13,14 @@
|
|||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
|
5335
|
||||||
|
7777
|
||||||
];
|
];
|
||||||
allowedUDPPortRanges = [
|
allowedTCPPorts = [
|
||||||
{
|
5335
|
||||||
from = 47998;
|
7777
|
||||||
to = 48000;
|
|
||||||
}
|
|
||||||
{
|
|
||||||
from = 48002;
|
|
||||||
to = 48010;
|
|
||||||
}
|
|
||||||
];
|
];
|
||||||
trustedInterfaces = [ "tailscale0" ];
|
trustedInterfaces = [ "tailscale0" "docker0" ];
|
||||||
allowedUDPPorts = [ config.services.tailscale.port ];
|
allowedUDPPorts = [ config.services.tailscale.port ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@@ -61,9 +61,16 @@
|
|||||||
settings = {
|
settings = {
|
||||||
server = {
|
server = {
|
||||||
verbosity = 0;
|
verbosity = 0;
|
||||||
interface = [ "0.0.0.0" ];
|
interface = [ "0.0.0.0" "127.0.0.1" ];
|
||||||
port = 5335;
|
port = 5335;
|
||||||
|
|
||||||
|
access-control = [
|
||||||
|
"127.0.0.0/8 allow"
|
||||||
|
"10.0.0.0/8 allow"
|
||||||
|
"172.16.0.0/12 allow"
|
||||||
|
"192.168.0.0/16 allow"
|
||||||
|
];
|
||||||
|
|
||||||
do-ip4 = "yes";
|
do-ip4 = "yes";
|
||||||
do-udp = "yes";
|
do-udp = "yes";
|
||||||
do-tcp = "yes";
|
do-tcp = "yes";
|
||||||
|
|||||||
Reference in New Issue
Block a user