File: iptables-restore.8

package info (click to toggle)
manpages-ja 0.5.0.0.20221215%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 29,304 kB
  • sloc: perl: 161; makefile: 61
file content (77 lines) | stat: -rw-r--r-- 3,600 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.\"
.\" Japanese Version Copyright (c) 2001 Yuichi SATO
.\"         all rights reserved.
.\" Translated 2001-05-15, Yuichi SATO <ysato@h4.dion.ne.jp>
.\" Updated 2013-04-08, Akihiro MOTOKI <amotoki@gmail.com>
.\"
.TH IPTABLES\-RESTORE 8 "" "iptables 1.4.21" "iptables 1.4.21"
.\"
.\" Man page written by Harald Welte <laforge@gnumonks.org>
.\" It is based on the iptables man page.
.\"
.\"	This program is free software; you can redistribute it and/or modify
.\"	it under the terms of the GNU General Public License as published by
.\"	the Free Software Foundation; either version 2 of the License, or
.\"	(at your option) any later version.
.\"
.\"	This program is distributed in the hope that it will be useful,
.\"	but WITHOUT ANY WARRANTY; without even the implied warranty of
.\"	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
.\"	GNU General Public License for more details.
.\"
.\"	You should have received a copy of the GNU General Public License
.\"	along with this program; if not, write to the Free Software
.\"	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
.\"
.\"
.SH 名前
iptables\-restore \(em IP テーブルを復元する
.P
ip6tables\-restore \(em IPv6 テーブルを復元する
.SH 書式
\fBiptables\-restore\fP [\fB\-chntv\fP] [\fB\-M\fP \fImodprobe\fP]
.P
\fBip6tables\-restore\fP [\fB\-chntv\fP] [\fB\-M\fP \fImodprobe\fP] [\fB\-T\fP \fIname\fP]
.SH 説明
.PP
\fBiptables\-restore\fP と \fBip6tables\-restore\fP は標準入力で指定されたデータから IP/IPv6
テーブルを復元するために使われる。 ファイルから読み込むためには、 シェルで提供されている I/O リダイレクションを使うこと。
.TP 
\fB\-c\fP, \fB\-\-counters\fP
全てのパケットカウンタとバイトカウンタの値を復元する。
.TP 
\fB\-h\fP, \fB\-\-help\fP
簡潔なオプション一覧を表示する。
.TP 
\fB\-n\fP, \fB\-\-noflush\fP
これまでのテーブルの内容をフラッシュしない。 指定されない場合、 どちらのコマンドもこれまでの各テーブルの内容を全てフラッシュ (削除) する。
.TP 
\fB\-t\fP, \fB\-\-test\fP
ルールセットの解釈と構築のみを行い、適用は行わない。
.TP 
\fB\-v\fP, \fB\-\-verbose\fP
ルールセットの処理中に追加のデバッグ情報を表示する。
.TP 
\fB\-M\fP, \fB\-\-modprobe\fP \fImodprobe_program\fP
modprobe プログラムのパスを指定する。デフォルトでは、 iptables\-restore は /proc/sys/kernel/modprobe
の内容を確認して実行ファイルのパスを決定する。
.TP 
\fB\-T\fP, \fB\-\-table\fP \fIname\fP
入力ストリームに他のテーブルの情報が含まれている場合でも、指定されたテーブルについてのみ復元を行う。
.SH バグ
iptables\-1.2.1 リリースでは知られていない。
.SH 作者
Harald Welte <laforge@gnumonks.org> は Rusty Russell のコードを元に
iptables\-restore を書いた。
.br
Andras Kis\-Szabo <kisza@sch.bme.hu> は ip6tables\-restore に貢献した。
.SH 関連項目
\fBiptables\-save\fP(8), \fBiptables\fP(8)
.PP
より多くの iptables の使用法について 詳細に説明している iptables\-HOWTO。 NAT について詳細に説明している
NAT\-HOWTO。 内部構造について詳細に説明している netfilter\-hacking\-HOWTO。