|
Packit |
7b22a4 |
.\" Title: iptables-apply
|
|
Packit |
7b22a4 |
.\" Author: Martin F. Krafft
|
|
Packit |
7b22a4 |
.\" Date: Jun 04, 2006
|
|
Packit |
7b22a4 |
.\"
|
|
Packit |
7b22a4 |
.TH IPTABLES\-APPLY 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
|
|
Packit |
7b22a4 |
.\" disable hyphenation
|
|
Packit |
7b22a4 |
.nh
|
|
Packit |
7b22a4 |
.SH NAME
|
|
Packit |
7b22a4 |
iptables-apply \- a safer way to update iptables remotely
|
|
Packit |
7b22a4 |
.SH SYNOPSIS
|
|
Packit |
7b22a4 |
\fBiptables\-apply\fP [\-\fBhV\fP] [\fB-t\fP \fItimeout\fP] \fIruleset\-file\fP
|
|
Packit |
7b22a4 |
.SH "DESCRIPTION"
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
iptables\-apply will try to apply a new ruleset (as output by
|
|
Packit |
7b22a4 |
iptables\-save/read by iptables\-restore) to iptables, then prompt the
|
|
Packit |
7b22a4 |
user whether the changes are okay. If the new ruleset cut the existing
|
|
Packit |
7b22a4 |
connection, the user will not be able to answer affirmatively. In this
|
|
Packit |
7b22a4 |
case, the script rolls back to the previous ruleset after the timeout
|
|
Packit |
7b22a4 |
expired. The timeout can be set with \fB\-t\fP.
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
When called as \fBip6tables\-apply\fP, the script will use
|
|
Packit |
7b22a4 |
ip6tables\-save/\-restore instead.
|
|
Packit |
7b22a4 |
.SH OPTIONS
|
|
Packit |
7b22a4 |
.TP
|
|
Packit |
7b22a4 |
\fB\-t\fP \fIseconds\fR, \fB\-\-timeout\fP \fIseconds\fR
|
|
Packit |
7b22a4 |
Sets the timeout after which the script will roll back to the previous
|
|
Packit |
7b22a4 |
ruleset.
|
|
Packit |
7b22a4 |
.TP
|
|
Packit |
7b22a4 |
\fB\-h\fP, \fB\-\-help\fP
|
|
Packit |
7b22a4 |
Display usage information.
|
|
Packit |
7b22a4 |
.TP
|
|
Packit |
7b22a4 |
\fB\-V\fP, \fB\-\-version\fP
|
|
Packit |
7b22a4 |
Display version information.
|
|
Packit |
7b22a4 |
.SH "SEE ALSO"
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
\fBiptables-restore\fP(8), \fBiptables-save\fP(8), \fBiptables\fR(8).
|
|
Packit |
7b22a4 |
.SH LEGALESE
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
iptables\-apply is copyright by Martin F. Krafft.
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
This manual page was written by Martin F. Krafft <madduck@madduck.net>
|
|
Packit |
7b22a4 |
.PP
|
|
Packit |
7b22a4 |
Permission is granted to copy, distribute and/or modify this document
|
|
Packit |
7b22a4 |
under the terms of the Artistic License 2.0.
|