IPTABLES-APPLY(8)              iptables 1.6.1              IPTABLES-APPLY(8)

NAME         top

       iptables-apply - a safer way to update iptables remotely

SYNOPSIS         top

       iptables-apply [-hV] [-t timeout] ruleset-file

DESCRIPTION         top

       iptables-apply will try to apply a new ruleset (as output by
       iptables-save/read by iptables-restore) to iptables, then prompt the
       user whether the changes are okay. If the new ruleset cut the
       existing connection, the user will not be able to answer
       affirmatively. In this case, the script rolls back to the previous
       ruleset after the timeout expired. The timeout can be set with -t.

       When called as ip6tables-apply, the script will use
       ip6tables-save/-restore instead.

OPTIONS         top

       -t seconds, --timeout seconds
              Sets the timeout after which the script will roll back to the
              previous ruleset.

       -h, --help
              Display usage information.

       -V, --version
              Display version information.

SEE ALSO         top

       iptables-restore(8), iptables-save(8), iptables(8).

LEGALESE         top

       iptables-apply is copyright by Martin F. Krafft.

       This manual page was written by Martin F. Krafft

       Permission is granted to copy, distribute and/or modify this document
       under the terms of the Artistic License 2.0.

COLOPHON         top

       This page is part of the iptables (administer and maintain packet
       filter rules) project.  Information about the project can be found at
       ⟨⟩.  If you have a bug report for this man‐
       ual page, see ⟨⟩.  This page was
       obtained from the project's upstream Git repository
       ⟨⟩ on 2018-02-02.  (At that time, the
       date of the most recent commit that was found in the repository was
       2018-01-31.)  If you discover any rendering problems in this HTML
       version of the page, or you believe there is a better or more up-to-
       date source for the page, or you have corrections or improvements to
       the information in this COLOPHON (which is not part of the original
       manual page), send a mail to

iptables 1.6.1                                             IPTABLES-APPLY(8)

Pages that refer to this page: iptables(8)