Explorar el Código

Port used for SSB udp broadcasts on lan

Bob Mottram hace 7 años
padre
commit
3ebd4d372d
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone-mesh-batman

+ 4
- 0
src/freedombone-mesh-batman Ver fichero

@@ -155,6 +155,8 @@ function stop {
155 155
     iptables -D INPUT -p tcp --dport $LIBREVAULT_PORT -j ACCEPT
156 156
     iptables -D INPUT -p udp --dport $LIBREVAULT_PORT -j ACCEPT
157 157
     iptables -D INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
158
+    # SSB/Patchwork
159
+    iptables -D INPUT -p udp --dport 8008 -j ACCEPT
158 160
 
159 161
     systemctl restart network-manager
160 162
 }
@@ -307,6 +309,8 @@ function start {
307 309
     iptables -A INPUT -p tcp --dport $LIBREVAULT_PORT -j ACCEPT
308 310
     iptables -A INPUT -p udp --dport $LIBREVAULT_PORT -j ACCEPT
309 311
     iptables -A INPUT -p tcp --dport $TAHOELAFS_PORT -j ACCEPT
312
+    # SSB/Patchwork
313
+    iptables -A INPUT -p udp --dport 8008 -j ACCEPT
310 314
 
311 315
     systemctl restart avahi-daemon
312 316