Guest User

firewalld go back to iptables

a guest
Apr 28th, 2020
272
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/bash
  2.  
  3. # Explore -- Should see "FirewallBackend=nftables"
  4. sudo cat /etc/firewalld/firewalld.conf | grep FirewallBackend=
  5.  
  6. # Change this to iptables
  7. sudo sed -i 's/FirewallBackend=nftables/FirewallBackend=iptables/g' /etc/firewalld/firewalld.conf
  8.  
  9. # Confirm -- Should now see "FirewallBackend=iptables"
  10. sudo cat /etc/firewalld/firewalld.conf | grep FirewallBackend=
  11.  
  12. # Restart firewalld and docker
  13. sudo systemctl restart firewalld docker
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×