Browse Source

Add syncthing port to batman script

Bob Mottram 8 years ago
parent
commit
135c233962
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone-mesh-batman

+ 3
- 0
src/freedombone-mesh-batman View File

62
 
62
 
63
 ZERONET_PORT=15441
63
 ZERONET_PORT=15441
64
 IPFS_PORT=4001
64
 IPFS_PORT=4001
65
+SYNCTHING_PORT=22000
65
 
66
 
66
 # Ethernet bridge definition (bridged to bat0)
67
 # Ethernet bridge definition (bridged to bat0)
67
 BRIDGE=br-mesh
68
 BRIDGE=br-mesh
124
     iptables -D INPUT -p tcp --dport $ZERONET_PORT -j ACCEPT
125
     iptables -D INPUT -p tcp --dport $ZERONET_PORT -j ACCEPT
125
     iptables -D INPUT -p udp --dport $ZERONET_PORT -j ACCEPT
126
     iptables -D INPUT -p udp --dport $ZERONET_PORT -j ACCEPT
126
     iptables -D INPUT -p tcp --dport $IPFS_PORT -j ACCEPT
127
     iptables -D INPUT -p tcp --dport $IPFS_PORT -j ACCEPT
128
+    iptables -D INPUT -p udp --dport $SYNCTHING_PORT -j ACCEPT
129
+    iptables -D INPUT -p tcp --dport $SYNCTHING_PORT -j ACCEPT
127
 
130
 
128
     systemctl restart network-manager
131
     systemctl restart network-manager
129
 }
132
 }