|  | @@ -297,12 +297,12 @@ function mesh_batman {
 | 
	
		
			
			| 297 | 297 |    echo '        ifconfig $BRIDGE up' >> $batman_script
 | 
	
		
			
			| 298 | 298 |    echo '    fi' >> $batman_script
 | 
	
		
			
			| 299 | 299 |    echo '' >> $batman_script
 | 
	
		
			
			| 300 |  | -  echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 301 |  | -  echo '    iptables -A INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 302 |  | -  echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 303 |  | -  echo '    iptables -A INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 304 |  | -  echo '    iptables -A INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 305 |  | -  echo '    iptables -A INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 300 | +  echo '    iptables -A INPUT -p tcp --dport 548 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 301 | +  echo '    iptables -A INPUT -p udp --dport 548 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 302 | +  echo '    iptables -A INPUT -p tcp --dport 5353 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 303 | +  echo '    iptables -A INPUT -p udp --dport 5353 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 304 | +  echo '    iptables -A INPUT -p tcp --dport 5354 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 305 | +  echo '    iptables -A INPUT -p udp --dport 5354 -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 306 | 306 |    echo '' >> $batman_script
 | 
	
		
			
			| 307 | 307 |    echo '    if [ -f /bin/systemctl ]; then' >> $batman_script
 | 
	
		
			
			| 308 | 308 |    echo '        systemctl restart avahi-daemon' >> $batman_script
 | 
	
	
		
			
			|  | @@ -335,12 +335,12 @@ function mesh_batman {
 | 
	
		
			
			| 335 | 335 |    echo '    ifconfig $IFACE down' >> $batman_script
 | 
	
		
			
			| 336 | 336 |    echo '    iwconfig $IFACE mode managed' >> $batman_script
 | 
	
		
			
			| 337 | 337 |    echo '' >> $batman_script
 | 
	
		
			
			| 338 |  | -  echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 339 |  | -  echo '    iptables -D INPUT -p udp -m state -m udp --dport 548 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 340 |  | -  echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 341 |  | -  echo '    iptables -D INPUT -p udp -m state -m udp --dport 5353 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 342 |  | -  echo '    iptables -D INPUT -p tcp -m state -m tcp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 343 |  | -  echo '    iptables -D INPUT -p udp -m state -m udp --dport 5354 --state NEW -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 338 | +  echo '    iptables -D INPUT -p tcp --dport 548 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 339 | +  echo '    iptables -D INPUT -p udp --dport 548 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 340 | +  echo '    iptables -D INPUT -p tcp --dport 5353 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 341 | +  echo '    iptables -D INPUT -p udp --dport 5353 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 342 | +  echo '    iptables -D INPUT -p tcp --dport 5354 -j ACCEPT' >> $batman_script
 | 
	
		
			
			|  | 343 | +  echo '    iptables -D INPUT -p udp --dport 5354 -j ACCEPT' >> $batman_script
 | 
	
		
			
			| 344 | 344 |    echo '' >> $batman_script
 | 
	
		
			
			| 345 | 345 |    echo '    if [ -f /bin/systemctl ]; then' >> $batman_script
 | 
	
		
			
			| 346 | 346 |    echo '        systemctl restart network-manager' >> $batman_script
 |