|
@@ -344,6 +344,7 @@ function mesh_batman {
|
344
|
344
|
echo " iptables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
345
|
345
|
echo " iptables -A INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
346
|
346
|
echo " iptables -A INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
|
347
|
+ echo " iptables -A INPUT -p udp -m udp -j ACCEPT" >> $batman_script
|
347
|
348
|
echo '' >> $batman_script
|
348
|
349
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
349
|
350
|
echo ' systemctl restart avahi-daemon' >> $batman_script
|
|
@@ -388,6 +389,7 @@ function mesh_batman {
|
388
|
389
|
echo " iptables -D INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
389
|
390
|
echo " iptables -D INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
390
|
391
|
echo " iptables -D INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
|
392
|
+ echo " iptables -D INPUT -p udp -m udp -j ACCEPT" >> $batman_script
|
391
|
393
|
echo '' >> $batman_script
|
392
|
394
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
393
|
395
|
echo ' systemctl restart network-manager' >> $batman_script
|