You are not logged in.
Hi. I've just installed Arch.
The Arch Wiki says: "Arch Linux comes with two options for managing a firewall, neither of which is enabled automatically."
Now how do I enable the firewall?
Last edited by archbaby (2022-09-26 10:25:56)
Offline
This is covered the two linked pages just below that sentence....
Offline
Read through the following links...caveat, it's a bit of a tedious process to get a firewall setup under Arch. I considered giving up on Arch when I first encountered all of the steps that are required to get a firewall setup.
Arch Linux with Openbox & Tint2
Offline
Or you skip the legacy iptables and check the nftables wiki page .
install nftables, issue 2 simple commands and basic firewall protection works.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Setting up a basic firewall is simple.
If using iptables
sudo pacman -S ufw
sudo ufw enable
sudo systemctl enable ufw.serviceIf using nftables
sudo pacman -S firewalld
sudo systemctl enable --now firewalldThis is a very simple, outbound ok inbound blocked type of setup.
Offline
Adding a 3rd package is not what I call simple.
Simple firewall
nftables comes with a simple and secure firewall configuration stored in the /etc/nftables.conf file.
The nftables.service will load rules from that file when started or enabled.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline