Iptables: Difference between revisions

From James's Wiki
No edit summary
No edit summary
Line 4: Line 4:
  sudo dpkg-reconfigure iptables-persistent
  sudo dpkg-reconfigure iptables-persistent


or (untested):
or (stretch):
  sudo invoke-rc.d iptables-persistent save
  sudo dpkg-reconfigure iptables-persistent





Revision as of 05:59, 18 February 2018


to save firewall rules use:

sudo dpkg-reconfigure iptables-persistent

or (stretch):

sudo dpkg-reconfigure iptables-persistent


references:

https://www.digitalocean.com/community/tutorials/iptables-essentials-common-firewall-rules-and-commands