Try to enable upnp on mesh
This commit is contained in:
parent
b52ac00db5
commit
36f1951f89
|
@ -344,6 +344,7 @@ function mesh_batman {
|
||||||
echo " iptables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
echo " iptables -A INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
||||||
echo " iptables -A INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
echo " iptables -A INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
||||||
echo " iptables -A INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
echo " iptables -A INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
||||||
|
echo " iptables -A INPUT -p udp -m udp -j ACCEPT" >> $batman_script
|
||||||
echo '' >> $batman_script
|
echo '' >> $batman_script
|
||||||
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
||||||
echo ' systemctl restart avahi-daemon' >> $batman_script
|
echo ' systemctl restart avahi-daemon' >> $batman_script
|
||||||
|
@ -388,6 +389,7 @@ function mesh_batman {
|
||||||
echo " iptables -D INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
echo " iptables -D INPUT -p tcp --dport $TRACKER_PORT -j ACCEPT" >> $batman_script
|
||||||
echo " iptables -D INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
echo " iptables -D INPUT -p udp --dport 1900 -j ACCEPT" >> $batman_script
|
||||||
echo " iptables -D INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
echo " iptables -D INPUT -p tcp --dport 80 -j ACCEPT" >> $batman_script
|
||||||
|
echo " iptables -D INPUT -p udp -m udp -j ACCEPT" >> $batman_script
|
||||||
echo '' >> $batman_script
|
echo '' >> $batman_script
|
||||||
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
echo ' if [ -f /bin/systemctl ]; then' >> $batman_script
|
||||||
echo ' systemctl restart network-manager' >> $batman_script
|
echo ' systemctl restart network-manager' >> $batman_script
|
||||||
|
|
Loading…
Reference in New Issue