Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To edit iptables...

Code Block
$ sudo vi /etc/sysconfig/iptables
$ sudo /etc/init.d/iptables restart

The syntax is fairly complicated,
and so it is not unreasonable to copy-paste-modify existing lines.