浏览代码

SSB also needs tcp for posts

Bob Mottram 7 年前
父节点
当前提交
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