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

Try to enable upnp on mesh

parent b52ac00d
No related branches found
No related tags found
No related merge requests found
......@@ -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 udp --dport 1900 -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 ' if [ -f /bin/systemctl ]; then' >> $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 udp --dport 1900 -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 ' if [ -f /bin/systemctl ]; then' >> $batman_script
echo ' systemctl restart network-manager' >> $batman_script
......
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