Always allow avahi

This commit is contained in:
Bob Mottram 2015-11-29 21:06:29 +00:00
parent ef5c96fa81
commit 072c64a7d2
1 changed files with 0 additions and 3 deletions

View File

@ -6698,9 +6698,6 @@ function configure_firewall_for_avahi {
if grep -Fxq "configure_firewall_for_avahi" $COMPLETION_FILE; then if grep -Fxq "configure_firewall_for_avahi" $COMPLETION_FILE; then
return return
fi fi
if [[ $ENABLE_CJDNS != "yes" && $ENABLE_BATMAN != "yes" && $ENABLE_BABEL != "yes" ]]; then
return
fi
iptables -A INPUT -p tcp --dport 548 -j ACCEPT iptables -A INPUT -p tcp --dport 548 -j ACCEPT
iptables -A INPUT -p udp --dport 548 -j ACCEPT iptables -A INPUT -p udp --dport 548 -j ACCEPT
iptables -A INPUT -p tcp --dport 5353 -j ACCEPT iptables -A INPUT -p tcp --dport 5353 -j ACCEPT