Syncthing relies on a network of community-contributed relay servers. Anyone can run a relay server, and it will automatically join the relay pool and be available to Syncthing users. The current list of relays can be found at http://relays.syncthing.net/.
See https://docs.syncthing.net/users/strelaysrv.html#strelaysrv for detailed description.
docker run --rm -it -p 22070:22070 -v syncthing:/syncthing cemizm/syncthing-relay \
-ext-address=myserv.dyndns.org \
-provided-by=cemizm
Enable debug output.
An optional address to advertising as being available on. Allows listening
on an unprivileged port with port forwarding from e.g. 443, and be
connected to on port 443.
Global rate limit, in bytes/s.
Directory where cert.pem and key.pem is stored (default ".").
Protocol listen address (default ":22067").
Maximum amount of time we wait for relevant messages to arrive (default 1m0s).
Use UPnP/NAT-PMP to acquire external port mapping
NAT lease length in minutes (default 60)
NAT renewal frequency in minutes (default 30)
NAT discovery timeout in seconds (default 10)
Timeout for network operations between the client and the relay. If no data
is received between the client and the relay in this period of time, the
connection is terminated. Furthermore, if no data is sent between either
clients being relayed within this period of time, the session is also
terminated. (default 2m0s)
Per session rate limit, in bytes/s.
How often pings are sent (default 1m0s).
Comma separated list of relay pool addresses to join (default
"http://relays.syncthing.net/endpoint"). Blank to disable announcement to
a pool, thereby remaining a private relay.
Protocol used for listening. 'tcp' for IPv4 and IPv6, 'tcp4' for IPv4, 'tcp6' for IPv6 (default "tcp").
An optional description about who provides the relay.
Listen address for status service (blank to disable) (default ":22070").
Status service is used by the relay pool server UI for displaying stats (data transfered, number of clients, etc.)
Content type
Image
Digest
Size
30.8 MB
Last updated
about 7 years ago
docker pull cemizm/syncthing-relay