From 36f1951f89ffecfa8bb9b2d2cd7d6c030da8a0f6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 2 Sep 2015 12:57:29 +0100 Subject: [PATCH] Try to enable upnp on mesh --- src/freedombone-client | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/freedombone-client b/src/freedombone-client index 5e3fb024..ad8797eb 100755 --- a/src/freedombone-client +++ b/src/freedombone-client @@ -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