File: iptables-save.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 (66 lines) | stat: -rw-r--r-- 3,049 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
.\"*******************************************************************
.\"
.\" 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\-SAVE 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\-save \(em iptables ルールを標準出力にダンプする
.P
ip6tables\-save \(em iptables ルールを標準出力にダンプする
.SH 書式
\fBiptables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP] [\fB\-t\fP \fItable\fP]
.P
\fBip6tables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP] [\fB\-t\fP \fItable\fP]
.SH 説明
.PP
\fBiptables\-save\fP と \fBip6tables\-save\fP は IP/IPv6 テーブルの内容を簡単に解析できる形式で
標準出力にダンプするために使われる。 ファイルに書き出すためには、 シェルで提供されている I/O リダイレクションを使うこと。
.TP 
\fB\-M\fP \fImodprobe_program\fP
modprobe プログラムのパスを指定する。デフォルトでは、 iptables\-save は /proc/sys/kernel/modprobe
の内容を確認して実行ファイルのパスを決定する。
.TP 
\fB\-c\fP, \fB\-\-counters\fP
全てのパケットカウンタとバイトカウンタの現在の値を出力する。
.TP 
\fB\-t\fP, \fB\-\-table\fP \fItablename\fP
出力を 1 つのテーブルのみに制限する。 指定されない場合、得られた全てのテーブルを出力する。
.SH バグ
iptables\-1.2.1 リリースでは知られていない。
.SH 作者
Harald Welte <laforge@gnumonks.org>
.br
Rusty Russell <rusty@rustcorp.com.au>
.br
Andras Kis\-Szabo <kisza@sch.bme.hu> は ip6tables\-save に貢献した。
.SH 関連項目
\fBiptables\-restore\fP(8), \fBiptables\fP(8)
.PP
より多くの iptables の使用法について 詳細に説明している iptables\-HOWTO。 NAT について詳細に説明している
NAT\-HOWTO。 内部構造について詳細に説明している netfilter\-hacking\-HOWTO。