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