Configure syncthing relay
This commit is contained in:
parent
333e8a713f
commit
3b4c8a5756
|
@ -23,10 +23,11 @@
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
22 # endlessh
|
22 # endlessh
|
||||||
80 # nginx
|
80 # nginx
|
||||||
443 # nginx TLS
|
443 # nginx TLS
|
||||||
2222 # ssh
|
2222 # ssh
|
||||||
|
22070 22067 # syncthing relay
|
||||||
];
|
];
|
||||||
allowedUDPPorts = [
|
allowedUDPPorts = [
|
||||||
42069 # wireguard
|
42069 # wireguard
|
||||||
|
@ -125,6 +126,14 @@
|
||||||
user = "admin";
|
user = "admin";
|
||||||
password = "admin";
|
password = "admin";
|
||||||
};
|
};
|
||||||
|
# public relay options
|
||||||
|
relay = {
|
||||||
|
enable = true;
|
||||||
|
providedBy = "kamoshi.org";
|
||||||
|
statusPort = 22070;
|
||||||
|
port = 22067;
|
||||||
|
globalRateBps = 25000;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue