115 lines
3.0 KiB
HTML
115 lines
3.0 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of IPTABLES-SAVE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>IPTABLES-SAVE</H1>
|
|
Section: iptables 1.8.4 (8)<BR>Updated: <BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
iptables-save --- dump iptables rules
|
|
<P>
|
|
|
|
ip6tables-save --- dump iptables rules
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>iptables-save</B> [<B>-M</B> <I>modprobe</I>] [<B>-c</B>]
|
|
[<B>-t</B> <I>table</I>] [<B>-f</B> <I>filename</I>]
|
|
<P>
|
|
|
|
<B>ip6tables-save</B> [<B>-M</B> <I>modprobe</I>] [<B>-c</B>]
|
|
[<B>-t</B> <I>table</I>] [<B>-f</B> <I>filename</I>]
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
<P>
|
|
|
|
<B>iptables-save</B>
|
|
|
|
and
|
|
<B>ip6tables-save</B>
|
|
|
|
are used to dump the contents of IP or IPv6 Table in easily parseable format
|
|
either to STDOUT or to a specified file.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-M</B>, <B>--modprobe</B> <I>modprobe_program</I><DD>
|
|
Specify the path to the modprobe program. By default, iptables-save will
|
|
inspect /proc/sys/kernel/modprobe to determine the executable's path.
|
|
<DT id="2"><B>-f</B>, <B>--file</B> <I>filename</I><DD>
|
|
Specify a filename to log the output to. If not specified, iptables-save
|
|
will log to STDOUT.
|
|
<DT id="3"><B>-c</B>, <B>--counters</B><DD>
|
|
include the current values of all packet and byte counters in the output
|
|
<DT id="4"><B>-t</B>, <B>--table</B> <I>tablename</I><DD>
|
|
restrict output to only one table. If the kernel is configured with automatic
|
|
module loading, an attempt will be made to load the appropriate module for
|
|
that table if it is not already there.
|
|
<BR>
|
|
|
|
If not specified, output includes all available tables.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>BUGS</H2>
|
|
|
|
None known as of iptables-1.2.1 release
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHORS</H2>
|
|
|
|
Harald Welte <<A HREF="mailto:laforge@gnumonks.org">laforge@gnumonks.org</A>>
|
|
<BR>
|
|
|
|
Rusty Russell <<A HREF="mailto:rusty@rustcorp.com.au">rusty@rustcorp.com.au</A>>
|
|
<BR>
|
|
|
|
Andras Kis-Szabo <<A HREF="mailto:kisza@sch.bme.hu">kisza@sch.bme.hu</A>> contributed ip6tables-save.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+iptables-apply">iptables-apply</A></B>(8),<B><A HREF="/cgi-bin/man/man2html?8+iptables-restore">iptables-restore</A></B>(8), <B><A HREF="/cgi-bin/man/man2html?8+iptables">iptables</A></B>(8)
|
|
<P>
|
|
|
|
The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
|
|
which details NAT, and the netfilter-hacking-HOWTO which details the
|
|
internals.
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="5"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="6"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="7"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="8"><A HREF="#lbAE">BUGS</A><DD>
|
|
<DT id="9"><A HREF="#lbAF">AUTHORS</A><DD>
|
|
<DT id="10"><A HREF="#lbAG">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:13 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|