added ufw firewall application preset (fixes #2435)

This commit is contained in:
Stefan-Code
2015-11-07 15:56:01 +01:00
parent 59565fd1d1
commit cc81a7ccfe
4 changed files with 30 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
Uncomplicated FireWall application preset
===================
Installation
-----------
**Please note:** When you installed syncthing using the official deb package, you can skip the copying.
Copy the file `syncthing` to your ufw applications directory usually located at `/etc/ufw/applications.d/`. (root permissions required).
Then run
```
sudo ufw app update syncthing
```
to load the preset.
To allow the syncthing ports, run:
```
sudo ufw allow syncthing
```
You can also verify the opened ports:
```
sudo ufw status verbose
```

View File

@@ -0,0 +1,4 @@
[syncthing]
title=Syncthing
description=Syncthing file synchronisation
ports=22000/tcp|21027/udp