I am running a script which updates firewall rules on a Debian machine via SSH as well as other actions. However, after the script runs, my connection just hangs. I am able to close the terminal and reconnect just fine and when I reconnect, my script is still running.
Is there an equivalent to the RHEL/CentOS service iptables reload
commands for Debian?
I've tried iptables-save > /etc/network/iptables
then iptables-apply
, but it's no good.