Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Explore -- Should see "FirewallBackend=nftables"
- sudo cat /etc/firewalld/firewalld.conf | grep FirewallBackend=
- # Change this to iptables
- sudo sed -i 's/FirewallBackend=nftables/FirewallBackend=iptables/g' /etc/firewalld/firewalld.conf
- # Confirm -- Should now see "FirewallBackend=iptables"
- sudo cat /etc/firewalld/firewalld.conf | grep FirewallBackend=
- # Restart firewalld and docker
- sudo systemctl restart firewalld docker
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement