Iptables isn’t enabled by default
I recently installed arch on my second laptop for some server duties. It’s only difference from my main desktop laptop that hasn’t have any DM and is booted in BIOS mode. And it hasn’t have encryption and lvm. After setting up iptables I realized that after reboot is doesn’t work. I have to manually start and enable it. Is something changed in or am I missing something?
Edited 11 Dec 2023. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 1 · 17% up
- Kind
- Text
- ID
- 18fmizz
10 comments
it's arch. if you don't tell it you want iptables installed and enabled, it won't be so. also nftables is kind of the new thing
iptables is installed by default. ok so probably I just forget about that, that I had enabled it by manual before. but it’s quite strange as I did install arch before few times and I don’t remember that :).
iptables’ systems service isn’t enabled by default. this is intended behavior
Read the first sentence, and you lost me at the second one.
What's DM in this context?
and have you check journalctl and the status of the service?
Quite don’t understand you. In first sentence I wrote about arch as server which is opposite to my first laptop which is workstation with graphical interface. I only mentioned differences for reference. And server use don’t exclude graphical interface for that matter.
did you execute
sudo systemctl enable --now iptables?Deleted before we saved it.