Преглед изворни кода

SSB also needs tcp for posts

Bob Mottram пре 8 година
родитељ
комит
3e4e0c3007
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2
    0
      src/freedombone-mesh-batman

+ 2
- 0
src/freedombone-mesh-batman Прегледај датотеку

@@ -157,6 +157,7 @@ function stop {
157 157
     iptables -D INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
158 158
     # SSB/Patchwork
159 159
     iptables -D INPUT -p udp --dport 8008 -j ACCEPT
160
+    iptables -D INPUT -p tcp --dport 8008 -j ACCEPT
160 161
 
161 162
     systemctl restart network-manager
162 163
 }
@@ -311,6 +312,7 @@ function start {
311 312
     iptables -A INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
312 313
     # SSB/Patchwork
313 314
     iptables -A INPUT -p udp --dport 8008 -j ACCEPT
315
+    iptables -A INPUT -p tcp --dport 8008 -j ACCEPT
314 316
 
315 317
     systemctl restart avahi-daemon
316 318