02-23-2021, 09:09 AM
I'm using the Linux firewall script I put together ages ago using iptables and it seems to be working just fine. (It actually started out as an ipchains script in ancient Linux from before iptables was released.) A complication is that both legacy iptables and the newer nftables are supported in recent Debian. With the latter, iptables to nftables translation takes place if you use iptables syntax. I set mine to legacy iptables using this guide:
https://wiki.debian.org/iptables
I then installed a systemd unit file to trigger the firewall script at boot time. Here's an example:
https://sleeplessbeastie.eu/2018/10/01/h...g-systemd/
https://wiki.debian.org/iptables
I then installed a systemd unit file to trigger the firewall script at boot time. Here's an example:
https://sleeplessbeastie.eu/2018/10/01/h...g-systemd/