Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The default action on Fedora and RHEL-based distributions that use FirewallD is to ban DHCP requests. Instead of telling people to turn off their firewall, I recommend adding the tap interfaces to the FirewallD trusted zone. This commit adds automatic support to the create_net.sh and cleanup-net.sh scripts that set up the tap interfaces. Due to many distributions using FirewallD these days, I opted for using the following command to check if FirewallD is available: if [ -e $(which --skip-alias firewall-cmd) ]; then sudo firewall-cmd --zone=trusted --change-interface=$device fi However, we will have to create a better solution for this in the future. Signed-off-by: Frey Alfredsson <[email protected]>
- Loading branch information