Mesh firewalls

This commit is contained in:
Bob Mottram 2015-08-09 14:34:57 +01:00
parent 53938eee2c
commit a31acc3353
1 changed files with 7 additions and 5 deletions

View File

@ -5824,7 +5824,9 @@ function configure_firewall_for_batman {
fi
# DHCP
iptables -A INPUT -i eth0 -p udp --dport 547 -j ACCEPT
iptables -A INPUT -i wlan0 -p udp --dport 5353 -j ACCEPT
iptables -A INPUT -i wlan0 -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
ip6tables -A INPUT -i wlan0 -p udp --dport 5353 -j ACCEPT
save_firewall_settings
echo 'configure_firewall_for_batman' >> $COMPLETION_FILE
}
@ -5837,7 +5839,7 @@ function configure_firewall_for_babel {
return
fi
iptables -A INPUT -i wlan0 -p udp --dport $BABEL_PORT -j ACCEPT
iptables -A INPUT -i wlan0 -p udp --dport 5353 -j ACCEPT
iptables -A INPUT -i wlan0 -p udp --dport 5353 -d 224.0.0.251 -j ACCEPT
save_firewall_settings
echo 'configure_firewall_for_babel' >> $COMPLETION_FILE
}
@ -10115,9 +10117,6 @@ configure_firewall_for_ssh
configure_firewall_for_dns
configure_firewall_for_ftp
configure_firewall_for_web_access
configure_firewall_for_cjdns
configure_firewall_for_batman
configure_firewall_for_babel
configure_firewall_for_voip
remove_proprietary_repos
change_debian_repos
@ -10145,9 +10144,12 @@ regenerate_ssh_keys
create_upgrade_script
configure_avahi
install_atheros_wifi
configure_firewall_for_cjdns
mesh_cjdns
mesh_cjdns_tools
configure_firewall_for_batman
mesh_batman_bridge
configure_firewall_for_babel
mesh_babel
route_outgoing_traffic_through_tor
install_watchdog_script