|
@@ -341,6 +341,7 @@ function mesh_batman {
|
341
|
341
|
echo " iptables -A INPUT -p tcp --dport $ZERONET_PORT -j ACCEPT" >> $batman_script
|
342
|
342
|
echo " iptables -A INPUT -p udp --dport $ZERONET_PORT -j ACCEPT" >> $batman_script
|
343
|
343
|
echo " iptables -A INPUT -p udp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
|
344
|
+ echo " iptables -A INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
344
|
345
|
echo '' >> $batman_script
|
345
|
346
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
346
|
347
|
echo ' systemctl restart avahi-daemon' >> $batman_script
|
|
@@ -382,6 +383,7 @@ function mesh_batman {
|
382
|
383
|
echo " iptables -D INPUT -p tcp --dport $ZERONET_PORT -j ACCEPT" >> $batman_script
|
383
|
384
|
echo " iptables -D INPUT -p udp --dport $ZERONET_PORT -j ACCEPT" >> $batman_script
|
384
|
385
|
echo " iptables -D INPUT -p udp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
|
386
|
+ echo " iptables -D INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
385
|
387
|
echo '' >> $batman_script
|
386
|
388
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
387
|
389
|
echo ' systemctl restart network-manager' >> $batman_script
|