2016-11-03 15:46:25 +00:00
|
|
|
Uncomplicated FireWall application preset
|
|
|
|
===================
|
|
|
|
Installation
|
|
|
|
-----------
|
|
|
|
**Please note:** When you installed syncthing using the official deb package, you can skip the copying.
|
|
|
|
|
2016-12-01 12:36:15 +00:00
|
|
|
Copy the file `syncthing` to your ufw applications directory usually located at `/etc/ufw/applications.d/` (root permissions required).
|
2016-11-03 15:46:25 +00:00
|
|
|
|
|
|
|
In a terminal run
|
|
|
|
```
|
|
|
|
sudo ufw app update syncthing
|
2016-12-01 12:36:15 +00:00
|
|
|
sudo ufw app update syncthing-gui
|
2016-11-03 15:46:25 +00:00
|
|
|
```
|
2016-12-01 12:36:15 +00:00
|
|
|
to load the presets.
|
2016-11-03 15:46:25 +00:00
|
|
|
To allow the syncthing ports, run
|
|
|
|
```
|
|
|
|
sudo ufw allow syncthing
|
|
|
|
```
|
2016-12-01 12:36:15 +00:00
|
|
|
If you want to access the web gui from anywhere (not only from localhost), you can also allow the gui port.
|
|
|
|
This is step is **not** necessary for a "normal" installation!
|
2016-11-03 15:46:25 +00:00
|
|
|
```
|
2016-12-01 12:36:15 +00:00
|
|
|
sudo ufw allow syncthing-gui
|
2016-11-03 15:46:25 +00:00
|
|
|
```
|
|
|
|
|
2016-12-01 12:36:15 +00:00
|
|
|
|
|
|
|
Verification
|
|
|
|
----------
|
|
|
|
You can verify the opened ports by running
|
|
|
|
```
|
|
|
|
sudo ufw status verbose
|
|
|
|
```
|