To enable UFW in Debian I do:

ufw --force enable

I understand from the Arch documentation that do so in Arch I should do instead:

systemctl start ufw
systemctl enable ufw

By "enabling" I mean "Ensuring UFW will run after each system boot".

Is my way of doing so in Arch totally resembles the way to do so in Debian?

  • "The next line is only needed once the first time you install the package: # ufw enable" wiki.archlinux.org/index.php/Uncomplicated_Firewall – sourcejedi Jan 18 '19 at 21:40
  • 1
    Why not use iptables? UFW is just a way to make iptables simpler and uses more overhead, I know the increase is really unnoticeable. Yet, I get more throughput with just iptables than with UFW. It is a small difference, but it is there. – Michael Prokopec Jan 19 '19 at 3:57

It's simply systemctl enable ufw - after enabling the service.

  • in ufw enable I assume you meant systemctl enable ufw. I accepted your answer though it'll be good if you'll edit to clarify I believe. I really think it'll raise the chance for upvotes ! Thanks ! – JohnDoea Jan 20 '19 at 22:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.