Syncthing relay and firewall setup for the community


I really love Syncthing and thinking of giving back to the community. So, I want to run a relay :slight_smile:

However, I’m a total noob when it comes to linux. I’ve found a documentation here:

But I don’t think it goes step by step to get a syncthing relay up and running.

Can anyone point me to a step by step guide to get it up and running? I’m thinking starting with a DigitalOcean Basic Droplet but I’m open to other suggestions as well.

And thanks in advance!

1 Like

Did you try following the explanation in the Setting Up section?

Will running the Set up instructions do it? What about making it automatically start at startup?

To make the relay server start automatically at boot, use the recommended procedure for your operating system.


Thanks. I’ll read up more on it. Also, what is the syncthing service called in ubuntu?

And how do I

Runtime iptables rules to allow access to the default ports:

iptables -I INPUT -p tcp --dport 22067 -j ACCEPT iptables -I INPUT -p tcp --dport 22070 -j ACCEPT

Please consult Linux distribution documentation to persist firewall rules.

Do I need ufw?

UFW is an alternative (well a wrapper actually if I am not mistaken) to iptables. So you need to configure one or the other, not both.

And finally, how would I check my relay is working properly and that others can connect to it? :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.