You are not logged in.
Pages: 1
I was following this https://wiki.archlinux.org/title/Simple … l_firewall guide on iptables. However, having completed all the commands and running # iptables-save -f /etc/iptables/iptables.rules to save it, the rules did in fact not save. The iptable.rules remained completely unchanged.
Offline
What's the iptables-save output when not redirecting into file?
Your rules?
What about iptables -nvL ?
Edit: autocorrect starts to annoy me...
Last edited by seth (2024-09-13 13:02:23)
Offline
I have the same problem. Just commenting to see a solution later.
Of all the things the Linux kernel does, IP rule-handling seems the crudest and most primitive to me.
Last edited by tvsujal (2024-09-13 23:52:08)
Offline
I'm sure that's why almost every router and firewall in the world relies on this... iptables is btw a userspace abstraction of the net filter implementation in the kernel and maintained for legacy reasons. State of the art is nftables but iptables is quite frankly simpler.
Please answer #2 - either you failed to add the filter in the first place (or rebooted afterwards, missing the transient nature of the kernel) or this is a simple "why does sudo foo > bar not work" situation.
Offline
Pages: 1