From 67cf4c42d5eeae02215cfff253f8fc10640416a2 Mon Sep 17 00:00:00 2001 From: travis laduke Date: Tue, 21 Feb 2023 09:15:18 -0800 Subject: [PATCH] add note about forceTcpRelay --- tcp-proxy/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tcp-proxy/README.md b/tcp-proxy/README.md index 0eccf23fe..a19bc0067 100644 --- a/tcp-proxy/README.md +++ b/tcp-proxy/README.md @@ -18,7 +18,11 @@ To reduce latency, the tcp-relay should be as close as possible to the nodes it #### Option 1 - local.conf configuration See [Service docs](https://github.com/zerotier/ZeroTierOne/blob/e0acccc3c918b59678033e585b31eb000c68fdf2/service/README.md) for more info on local.conf -`{ "settings": { "tcpFallbackRelay": "198.51.100.123/443" } }` +`{ "settings": { "tcpFallbackRelay": "198.51.100.123/443", "forceTcpRelay": true } }` + + +In this example, `forceTcpRelay` is enabled. This is helpful for testing or if you know you'll need tcp relay. It takes a few minutes for zerotier-one to realize it needs to relay otherwise. + #### Option 2 - redirect 204.80.128.1 to your own IP