[syncthing] More relay config
This commit is contained in:
@@ -13,7 +13,11 @@
|
||||
Notes = {
|
||||
label = "Notes";
|
||||
path = "~/Documents/Notes";
|
||||
devices = [ "altair" "mcp" "vega" ];
|
||||
devices = [
|
||||
"altair"
|
||||
"mcp"
|
||||
"vega"
|
||||
];
|
||||
};
|
||||
};
|
||||
devices = {
|
||||
@@ -21,7 +25,8 @@
|
||||
id = "6O3U5QK-PR4RAAB-L32TR6K-USM7PER-VJBIKCI-FOWNA2G-7CQU5HF-R2OXNQ2";
|
||||
name = "mcp";
|
||||
addresses = [
|
||||
"tcp://mcp.blazestar.net"
|
||||
# "tcp://mcp.blazestar.net"
|
||||
"relay://syncthing.blazestar.net:22067"
|
||||
];
|
||||
compression = "always";
|
||||
};
|
||||
@@ -29,7 +34,8 @@
|
||||
id = "U55HQDN-YTUQAGA-G4O4LMZ-OAVAUVZ-RBDD2S6-JAWAUF2-Z4VZ7BM-TIIVUA4";
|
||||
name = "vega";
|
||||
addresses = [
|
||||
"tcp://vega.blazestar.net"
|
||||
# "tcp://vega.blazestar.net"
|
||||
"relay://syncthing.blazestar.net:22067"
|
||||
];
|
||||
compression = "always";
|
||||
};
|
||||
@@ -37,7 +43,8 @@
|
||||
id = "W5QZDM6-CUVQJIG-DR4BJCU-IQ7UGTJ-NQUSW73-E3GWSLU-A2QEMKR-BRDH3Q3";
|
||||
name = "altair";
|
||||
addresses = [
|
||||
"tcp://altair.blazestar.net"
|
||||
# "tcp://altair.blazestar.net"
|
||||
"relay://syncthing.blazestar.net:22067"
|
||||
];
|
||||
compression = "always";
|
||||
};
|
||||
@@ -47,7 +54,7 @@
|
||||
globalAnnounceEnabled = false;
|
||||
relaysEnabled = true;
|
||||
listenAddresses = [
|
||||
"relay://syncthing.blazestar.net:22067"
|
||||
"relay://syncthing.blazestar.net:22067/?id=TITGK5I-55GDSAF-HHPCSMZ-AHD2YKT-LZSKYRQ-5B6MGE4-LMLNEP6-KQ4UJQF&networkTimeout=2m0s&pingInterval=1m0s&statusAddr=%3A22070"
|
||||
];
|
||||
# Whether the user has accepted submitting usage data. 0 is no-choice.
|
||||
# -1 means no. A positive integer means yes.
|
||||
|
||||
@@ -115,6 +115,7 @@
|
||||
# So I don't have to use public relays
|
||||
services.syncthing.relay = {
|
||||
enable = true;
|
||||
# Leave this empty, meaning it won't join any public pools.
|
||||
pools = [ ];
|
||||
};
|
||||
|
||||
@@ -122,6 +123,7 @@
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22067 # Syncthing relay
|
||||
22070 # Syncthing relay status
|
||||
];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
|
||||
Reference in New Issue
Block a user