Martin F. Krafft | 8d458be | 2008-04-12 07:48:44 +0200 | [diff] [blame^] | 1 | .\" 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 |
| 9 | iptables-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 |
| 14 | iptables\-apply will try to apply a new ruleset (as output by |
| 15 | iptables\-save/read by iptables\-restore) to iptables, then prompt the |
| 16 | user whether the changes are okay. If the new ruleset cut the existing |
| 17 | connection, the user will not be able to answer affirmatively. In this |
| 18 | case, the script rolls back to the previous ruleset after the timeout |
| 19 | expired. The timeout can be set with \fB\-t\fP. |
| 20 | .PP |
| 21 | When called as ip6tables\-apply, the script will use |
| 22 | ip6tables\-save/\-restore instead. |
| 23 | .SH OPTIONS |
| 24 | .TP |
| 25 | \fB\-t\fP \fIseconds\fR, \fB\-\-timeout\fP \fIseconds\fR |
| 26 | Sets the timeout after which the script will roll back to the previous |
| 27 | ruleset. |
| 28 | .TP |
| 29 | \fB\-h\fP, \fB\-\-help\fP |
| 30 | Display usage information. |
| 31 | .TP |
| 32 | \fB\-V\fP, \fB\-\-version\fP |
| 33 | Display 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 |
| 39 | iptables\-apply is copyright by Martin F. Krafft. |
| 40 | .PP |
| 41 | This manual page was written by Martin F. Krafft <madduck@madduck.net> |
| 42 | .PP |
| 43 | Permission is granted to copy, distribute and/or modify this document |
| 44 | under the terms of the Artistic License 2.0. |