as debian switched to systemd as default init system my firewall scripts did not function anymore and as I am a lazy guy I also switched from a script based system to netfilter-persistent. These scripts take over the task of saving and initiating the firewall system based on the current active settings. So I may still use the scripts already created while using systemd as init process.
- save current iptables rules:
netfilter-persistent save
- start last saved settings:
netfilter-persistent start