blob: 8208fd0f384f522dccb4adf6e16aaf5977b1f26b [file] [log] [blame]
Martin F. Krafft8d458be2008-04-12 07:48:44 +02001.\" Title: iptables-apply
2.\" Author: Martin F. Krafft
3.\" Date: Jun 04, 2006
4.\"
5.TH iptables\-apply 8 2006-06-04
6.\" disable hyphenation
7.nh
8.SH NAME
9iptables-apply \- a safer way to update iptables remotely
10.SH SYNOPSIS
11\fBiptables\-apply\fP [\-\fBhV\fP] [\fB-t\fP \fItimeout\fP] \fIruleset\-file\fP
12.SH "DESCRIPTION"
13.PP
14iptables\-apply will try to apply a new ruleset (as output by
15iptables\-save/read by iptables\-restore) to iptables, then prompt the
16user whether the changes are okay. If the new ruleset cut the existing
17connection, the user will not be able to answer affirmatively. In this
18case, the script rolls back to the previous ruleset after the timeout
19expired. The timeout can be set with \fB\-t\fP.
20.PP
21When called as ip6tables\-apply, the script will use
22ip6tables\-save/\-restore instead.
23.SH OPTIONS
24.TP
25\fB\-t\fP \fIseconds\fR, \fB\-\-timeout\fP \fIseconds\fR
26Sets the timeout after which the script will roll back to the previous
27ruleset.
28.TP
29\fB\-h\fP, \fB\-\-help\fP
30Display usage information.
31.TP
32\fB\-V\fP, \fB\-\-version\fP
33Display version information.
34.SH "SEE ALSO"
35.PP
36\fBiptables-restore\fP(8), \fBiptables-save\fP(8), \fBiptables\fR(8).
37.SH LEGALESE
38.PP
39iptables\-apply is copyright by Martin F. Krafft.
40.PP
41This manual page was written by Martin F. Krafft <madduck@madduck.net>
42.PP
43Permission is granted to copy, distribute and/or modify this document
44under the terms of the Artistic License 2.0.