1Uncomplicated FireWall application preset 2=================== 3Installation 4----------- 5**Please note:** When you installed syncthing using the official deb package, you can skip the copying. 6 7Copy the file `syncthing` to your ufw applications directory usually located at `/etc/ufw/applications.d/` (root permissions required). 8 9In a terminal run 10``` 11sudo ufw app update syncthing 12sudo ufw app update syncthing-gui 13``` 14to load the presets. 15To allow the syncthing ports, run 16``` 17sudo ufw allow syncthing 18``` 19If you want to access the web gui from anywhere (not only from localhost), you can also allow the gui port. 20This is step is **not** necessary for a "normal" installation! 21``` 22sudo ufw allow syncthing-gui 23``` 24 25 26Verification 27---------- 28You can verify the opened ports by running 29``` 30sudo ufw status verbose 31``` 32