Skip to content
Snippets Groups Projects
Commit 135c2339 authored by Bob Mottram's avatar Bob Mottram
Browse files

Add syncthing port to batman script

parent 97d93ab7
No related branches found
No related tags found
No related merge requests found
......@@ -62,6 +62,7 @@ sed -i "s|Wifi channel:.*|Wifi channel:${CHANNEL}|g" $COMPLETION_FILE
ZERONET_PORT=15441
IPFS_PORT=4001
SYNCTHING_PORT=22000
# Ethernet bridge definition (bridged to bat0)
BRIDGE=br-mesh
......@@ -124,6 +125,8 @@ function stop {
iptables -D INPUT -p tcp --dport $ZERONET_PORT -j ACCEPT
iptables -D INPUT -p udp --dport $ZERONET_PORT -j ACCEPT
iptables -D INPUT -p tcp --dport $IPFS_PORT -j ACCEPT
iptables -D INPUT -p udp --dport $SYNCTHING_PORT -j ACCEPT
iptables -D INPUT -p tcp --dport $SYNCTHING_PORT -j ACCEPT
systemctl restart network-manager
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment