diff --git a/conf/config.xml b/conf/config.xml
index 2805b98..c4f6100 100644
--- a/conf/config.xml
+++ b/conf/config.xml
@@ -10,7 +10,39 @@
default
+ default
+ true
+ true
+ 0
+ 0
+ 60
+ true
+ 10
+ true
+ false
+ 0
+ 0
+ 0
+ 3
+ 3
+
+ https://data.syncthing.net/newdata
+ false
+ 1800
+ true
+ 12
+ false
+ 24
+ false
+ 5
+ false
+ 0
+ https://upgrades1.syncthing.net/meta.json
+ true
+ 10
+ 0
__SYNC_HOME__
- 1
+ true
+ 0
diff --git a/scripts/install b/scripts/install
index a289f63..b7bf811 100644
--- a/scripts/install
+++ b/scripts/install
@@ -65,7 +65,7 @@ ynh_app_setting_set $app gui_port $gui_port
sync_port=$(ynh_find_port 22000)
# Open this port
-ynh_exec_warn_less yunohost firewall allow --no-upnp TCP $sync_port
+ynh_exec_warn_less yunohost firewall allow TCP $sync_port
ynh_app_setting_set $app sync_port $sync_port
#=================================================
@@ -124,6 +124,18 @@ cp "../conf/config.xml" "$config_file"
ynh_replace_string "__GUI_PORT__" "$gui_port" "$config_file"
ynh_replace_string "__SYNC_HOME__" "$sync_home" "$config_file"
+#=================================================
+# FIX LISTENING SERVICE
+#=================================================
+
+chown -R $app: $final_path
+
+ynh_systemd_action --action=start --service_name=$app --log_path=systemd --line_match="Access the GUI via the following URL"
+
+ynh_replace_string "tcp://default" "default" "$config_file"
+
+ynh_systemd_action --action=stop --service_name=$app --log_path=systemd
+
#=================================================
# STORE THE CONFIG FILE CHECKSUM
#=================================================